* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background-color: #4a7ba7;
    width: 100%;
    padding: 15px 20px;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    position: relative;
    width: 80px;
    height: 50px;
    margin-right: 15px;
}

.logo-sphere {
    position: absolute;
    border-radius: 50%;
}

.logo-sphere-back {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #3d5a7d, #2d4160);
    top: 10px;
    left: 10px;
    box-shadow: 
        inset -3px -3px 6px rgba(0, 0, 0, 0.4),
        inset 1px 1px 3px rgba(255, 255, 255, 0.15),
        1px 1px 2px rgba(0, 0, 0, 0.2);
}

.logo-sphere-front {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7db3e8, #5a9bd4);
    top: 5px;
    left: 5px;
    box-shadow: 
        inset -3px -3px 6px rgba(0, 0, 0, 0.25),
        inset 3px 3px 6px rgba(255, 255, 255, 0.5),
        2px 2px 5px rgba(0, 0, 0, 0.25);
}

.logo-sphere-small {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #2d4160, #1a2a3f);
    top: 15px;
    left: 45px;
    box-shadow: 
        inset -2px -2px 4px rgba(0, 0, 0, 0.5),
        inset 1px 1px 2px rgba(255, 255, 255, 0.1),
        1px 1px 3px rgba(0, 0, 0, 0.3);
}

.site-title {
    color: white;
    font-size: 32px;
    font-weight: normal;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    text-decoration: underline;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.content-box {
    background-color: #d3d3d3;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 
        inset 3px 3px 6px rgba(255, 255, 255, 0.6),
        inset -3px -3px 6px rgba(0, 0, 0, 0.25),
        5px 5px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #b0b0b0;
    border-top-color: #e0e0e0;
    border-left-color: #e0e0e0;
}

.content-header {
    margin-bottom: 15px;
}

.large-o {
    font-size: 48px;
    font-weight: bold;
    color: black;
    -webkit-text-stroke: 2px black;
    text-stroke: 2px black;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    display: inline-block;
    margin-right: 5px;
}

.scronth-text {
    font-size: 48px;
    color: black;
    font-weight: normal;
}

.example-text {
    color: black;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Post Form */
.post-form {
    margin: 20px 0;
}

.post-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #a0a0a0;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    font-family: Arial, sans-serif;
    resize: vertical;
    box-shadow: 
        inset 1px 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.post-form textarea:focus {
    outline: none;
    border-color: #4a7ba7;
    box-shadow: 
        inset 1px 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 8px rgba(74, 123, 167, 0.3);
}

.post-btn {
    width: auto;
    padding: 10px 24px;
    margin-top: 0;
}

/* Posts Feed */
.posts-feed {
    margin-top: 30px;
}

.post-item {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #b0b0b0;
    border-radius: 6px;
    box-shadow: 
        inset 1px 1px 2px rgba(255, 255, 255, 0.5),
        1px 1px 3px rgba(0, 0, 0, 0.1);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d0d0d0;
}

.post-username {
    color: #4a7ba7;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.post-username:hover {
    text-decoration: underline;
}

.post-time {
    color: #666;
    font-size: 12px;
}

.post-content {
    color: black;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.no-posts {
    text-align: center;
    color: #666;
    padding: 40px;
    font-style: italic;
}

/* Profile Page */
.profile-container {
    max-width: 800px;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #b0b0b0;
}

.profile-username {
    font-size: 32px;
    color: black;
    font-weight: normal;
}

.follow-btn {
    width: auto;
    padding: 8px 20px;
    font-size: 14px;
}

.profile-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border: 1px solid #b0b0b0;
    border-radius: 6px;
    box-shadow: 
        inset 1px 1px 2px rgba(255, 255, 255, 0.5),
        1px 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #4a7ba7;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

.profile-posts {
    margin-top: 20px;
}

.feed-container {
    max-width: 700px;
}

/* Image Upload */
.image-upload-section {
    margin: 10px 0;
}

.image-upload-label {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(to bottom, #e8e8e8, #d0d0d0);
    border: 1px solid #a0a0a0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.image-upload-label:hover {
    background: linear-gradient(to bottom, #f0f0f0, #e0e0e0);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.upload-icon {
    margin-right: 6px;
    font-size: 16px;
}

.image-preview {
    position: relative;
    margin-top: 10px;
    display: inline-block;
    max-width: 300px;
}

.image-preview img {
    max-width: 100%;
    max-height: 300px;
    border: 1px solid #b0b0b0;
    border-radius: 6px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.remove-image-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #cc0000;
    color: white;
    border: 2px solid white;
    cursor: pointer;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0;
}

.remove-image-btn:hover {
    background: #ff0000;
}

/* Post Images */
.post-image-container {
    margin-top: 12px;
    text-align: center;
}

.post-image {
    max-width: 100%;
    max-height: 500px;
    border: 1px solid #b0b0b0;
    border-radius: 6px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.post-image:hover {
    transform: scale(1.02);
}

/* Profile Pictures */
.post-pfp {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #b0b0b0;
    margin-right: 10px;
}

.default-pfp {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #d3d3d3;
    border: 2px solid #b0b0b0;
    margin-right: 10px;
    display: inline-block;
}

.profile-pfp-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #b0b0b0;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.profile-pfp-section {
    margin-right: 20px;
}

.profile-info {
    flex: 1;
}

.profile-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.post-user-info {
    display: flex;
    align-items: center;
}

.post-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Settings Page */
.settings-container {
    max-width: 800px;
}

.section-title {
    font-size: 20px;
    color: black;
    margin: 20px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #b0b0b0;
}

.settings-section {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border: 1px solid #b0b0b0;
    border-radius: 6px;
    box-shadow: 
        inset 1px 1px 2px rgba(255, 255, 255, 0.5),
        1px 1px 3px rgba(0, 0, 0, 0.1);
}

.pfp-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.pfp-preview {
    flex-shrink: 0;
}

.pfp-display {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #b0b0b0;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.pfp-upload {
    flex: 1;
}

.remove-pfp-btn {
    margin-top: 10px;
    background: linear-gradient(to bottom, #cc6666, #aa4444);
    border-color: #993333;
}

.remove-pfp-btn:hover {
    background: linear-gradient(to bottom, #dd7777, #bb5555);
}

.settings-message {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
}

.settings-message.success {
    background: #e6ffe6;
    color: #006600;
    border: 1px solid #00aa00;
}

.settings-message.error {
    background: #ffe6e6;
    color: #cc0000;
    border: 1px solid #cc0000;
}

/* Admin Panel */
#admin-panel {
    margin-top: 40px;
    padding: 20px;
    background: #f5f5f5;
    border: 2px solid #cc0000;
    border-radius: 6px;
}

#admin-panel .section-title {
    color: #cc0000;
    border-bottom-color: #cc0000;
}

.admin-section {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border: 1px solid #b0b0b0;
    border-radius: 6px;
}

.admin-section h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.admin-form {
    display: flex;
    gap: 10px;
}

.admin-form input {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #a0a0a0;
    border-radius: 6px;
    font-size: 14px;
}

.admin-btn {
    padding: 8px 16px;
    font-size: 14px;
    width: auto;
}

.ban-btn {
    background: linear-gradient(to bottom, #cc6666, #aa4444);
    border-color: #993333;
}

.ban-btn:hover {
    background: linear-gradient(to bottom, #dd7777, #bb5555);
}

.admin-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.admin-message.success {
    background: #e6ffe6;
    color: #006600;
    border: 1px solid #00aa00;
}

.admin-message.error {
    background: #ffe6e6;
    color: #cc0000;
    border: 1px solid #cc0000;
}

.ban-post-btn {
    background: #cc0000;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 18px;
    line-height: 20px;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ban-post-btn:hover {
    background: #ff0000;
}

.admin-badge {
    display: inline-block;
    background: linear-gradient(to bottom, #ffcc00, #ff9900);
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
    text-shadow: none;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.banned-message {
    text-align: center;
    color: #cc0000;
    font-size: 18px;
    padding: 40px;
    background: #ffe6e6;
    border: 2px solid #cc0000;
    border-radius: 6px;
}

/* Profile Pictures */
.post-pfp {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #b0b0b0;
    margin-right: 10px;
    object-fit: cover;
}

.default-pfp {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #d3d3d3;
    border: 2px solid #b0b0b0;
    margin-right: 10px;
}

.profile-pfp-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #b0b0b0;
    object-fit: cover;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.profile-pfp-section {
    margin-right: 20px;
}

.profile-info {
    flex: 1;
}

.profile-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #b0b0b0;
}

.profile-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.post-user-info {
    display: flex;
    align-items: center;
}

.post-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ban-post-btn {
    background: #cc0000;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
}

.ban-post-btn:hover {
    background: #ff0000;
}

.ban-btn {
    background: linear-gradient(to bottom, #cc0000, #990000);
}

.ban-btn:hover {
    background: linear-gradient(to bottom, #ff0000, #cc0000);
}

.admin-badge {
    display: inline-block;
    background: linear-gradient(to bottom, #ffd700, #ffaa00);
    color: #333;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
    text-shadow: none;
}

.banned-message {
    text-align: center;
    color: #cc0000;
    font-size: 18px;
    padding: 40px;
}

.profile-admin-message {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 6px;
    padding: 12px;
    margin: 10px 0;
    color: #856404;
    font-size: 14px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-form-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-form-vertical textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #a0a0a0;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    font-family: Arial, sans-serif;
    resize: vertical;
    box-shadow: 
        inset 1px 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8);
}

.admin-form-vertical textarea:focus {
    outline: none;
    border-color: #4a7ba7;
    box-shadow: 
        inset 1px 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 8px rgba(74, 123, 167, 0.3);
}

.admin-panel-container {
    max-width: 800px;
}

/* Settings Page */
.settings-container {
    max-width: 700px;
}

.settings-title {
    font-size: 28px;
    color: black;
    margin-bottom: 25px;
    font-weight: normal;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

.settings-section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #b0b0b0;
    border-radius: 6px;
    box-shadow: 
        inset 1px 1px 2px rgba(255, 255, 255, 0.5),
        1px 1px 3px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 20px;
    color: black;
    margin-bottom: 15px;
    font-weight: normal;
}

.pfp-section {
    text-align: center;
}

.pfp-preview {
    margin-bottom: 15px;
}

.pfp-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #b0b0b0;
    object-fit: cover;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.remove-pfp-btn {
    margin-top: 10px;
    background: linear-gradient(to bottom, #cc0000, #990000);
}

.remove-pfp-btn:hover {
    background: linear-gradient(to bottom, #ff0000, #cc0000);
}

.admin-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-group h4 {
    font-size: 14px;
    color: #333;
    margin: 0;
    font-weight: normal;
}

.admin-input {
    padding: 8px 12px;
    border: 2px solid #a0a0a0;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    font-family: Arial, sans-serif;
    box-shadow: 
        inset 1px 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8);
}

.admin-input:focus {
    outline: none;
    border-color: #4a7ba7;
    box-shadow: 
        inset 1px 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 8px rgba(74, 123, 167, 0.3);
}

.admin-btn {
    width: auto;
    padding: 8px 16px;
    font-size: 14px;
}

.settings-message {
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    text-align: center;
}

.settings-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.settings-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.enter-text {
    color: black;
    font-size: 24px;
    margin: 20px 0;
    font-weight: normal;
}

.info-text {
    color: black;
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.5;
}

.info-text p {
    margin: 5px 0;
}

/* Form Styles - Classic 2004-2009 Web 2.0 */
.form-box {
    max-width: 400px;
    text-align: center;
}

.form-title {
    font-size: 28px;
    color: black;
    margin-bottom: 25px;
    font-weight: normal;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

.auth-form {
    text-align: left;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: black;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: normal;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #a0a0a0;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    font-family: Arial, sans-serif;
    box-shadow: 
        inset 1px 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4a7ba7;
    box-shadow: 
        inset 1px 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 8px rgba(74, 123, 167, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(to bottom, #5a9bd4, #4a7ba7);
    border: 1px solid #3d6a94;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    background: linear-gradient(to bottom, #6aabf4, #5a9bd4);
    box-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.submit-btn:active {
    background: linear-gradient(to bottom, #4a7ba7, #3d6a94);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(0);
}

.form-footer {
    margin-top: 20px;
    font-size: 14px;
    color: black;
}

.form-footer a {
    color: #4a7ba7;
    text-decoration: none;
    font-weight: bold;
}

.form-footer a:hover {
    text-decoration: underline;
}

.nav-user {
    color: white;
    font-size: 16px;
    margin-right: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Admin Panel Styles */
#admin-panel {
    margin-top: 40px;
    padding: 20px;
    background: #f5f5f5;
    border: 2px solid #cc0000;
    border-radius: 6px;
}

#admin-panel .section-title {
    color: #cc0000;
    border-bottom: 2px solid #cc0000;
    padding-bottom: 10px;
}

.admin-section {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border: 1px solid #b0b0b0;
    border-radius: 6px;
}

.admin-section h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
    font-weight: normal;
}

.admin-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.admin-form input {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #a0a0a0;
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

.admin-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

.pfp-display {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #b0b0b0;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.pfp-upload {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

