body {
    background: #111;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    position: relative;
    min-height: 100vh;
    padding-bottom: 100px;
}

.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 3rem;
    font-weight: 300;
    margin: 0 0 3rem 0;
    font-family: 'Share Tech Mono', monospace;
}

h2 {
    font-size: 2rem;
    font-weight: 300;
    margin: 0 0 1.5rem 0;
    font-family: 'Share Tech Mono', monospace;
}

h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 2rem 0 1rem 0;
    font-family: 'Share Tech Mono', monospace;
}

.corner-box {
    position: fixed;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 300;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 140px;
    max-width: 200px;
    text-align: center;
}

.corner-box:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.counter {
    bottom: 1.5rem;
    right: 1.5rem;
}

.x-profile {
    bottom: 1.5rem;
    left: 1.5rem;
}

.x-profile a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.x-profile a:hover {
    opacity: 0.8;
}

.x-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .corner-box {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        min-width: 120px;
        max-width: 160px;
        bottom: 1rem;
    }

    .counter {
        right: 1rem;
    }

    .x-profile {
        left: 1rem;
    }

    .x-profile a {
        gap: 0.3rem;
    }

    .x-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    .corner-box {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
        min-width: 100px;
        max-width: 140px;
        bottom: 0.75rem;
    }

    .counter {
        right: 0.75rem;
    }

    .x-profile {
        left: 0.75rem;
    }

}

/* Guestbook Styles */
.guestbook-section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #81c784;
}

.message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #e57373;
}

.guestbook-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.social-media-group {
    margin-bottom: 1rem;
}

.social-media-inputs {
    display: flex;
    gap: 0.5rem;
}

.social-platform-select {
    flex: 0 0 140px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    box-sizing: border-box;
}

.social-platform-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.social-platform-select option {
    background: #111;
    color: #fff;
}

.social-handle-input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.social-handle-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.social-handle-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Share Tech Mono', monospace;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.submit-btn:active {
    transform: scale(0.98);
}

.entries-container {
    margin-top: 2rem;
}

.no-entries {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    padding: 2rem;
}

.entries-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.entry {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.entry:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.entry-name-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.entry-name {
    font-weight: 600;
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
}

.entry-name-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.entry-name-link:hover {
    opacity: 0.8;
}

.entry-name-link .entry-name {
    color: inherit;
}

.website-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.entry-name-link:hover .website-icon {
    opacity: 1;
}

.entry-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.entry-message {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.social-icon-link:hover {
    opacity: 1;
    transform: scale(1.1);
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}

/* Responsive guestbook */
@media (max-width: 768px) {
    .main-content {
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .guestbook-form {
        padding: 1rem;
    }

    .social-media-inputs {
        flex-direction: column;
    }

    .social-platform-select {
        flex: 1;
        width: 100%;
    }

    .entry-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .guestbook-form {
        padding: 0.75rem;
    }

    .social-media-inputs {
        flex-direction: column;
    }

    .social-platform-select {
        flex: 1;
        width: 100%;
    }

    .entry {
        padding: 0.75rem;
    }
}

