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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #1a1d29;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    --site-footer-margin-top: auto;
}

.navbar {
    background: #21252e;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
}

.navbar-brand img {
    width: 32px;
    height: 32px;
}
.navbar-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}
.navbar-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
    font-size: 0.95rem;
}
.navbar-links > a:not(.discord-button) {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.navbar-links > a .nav-icon {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
    opacity: 0.75;
    flex-shrink: 0;
}
.navbar-links > a:hover .nav-icon {
    opacity: 1;
}
.navbar-links a:hover {
    color: #FFFFFF;
}
.navbar-links a.active {
    color: #5B9FED;
}

/* User dropdown menu */
                .discord-button {
    display: inline-flex;
    align-items: center;
    margin-left: 50px;
    gap: 0.45rem;
    padding: 1px 0;
    border-radius: 0;
    background: transparent;
    color: #9aa7bf;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    border: none;
    box-shadow: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
    line-height: 1.2;
}

.discord-button svg {
    width: 26px;
    height: 26px;
    display: block;
    fill: currentColor;
    opacity: 0.8;
    flex-shrink: 0;
    overflow: visible;
}

.discord-button:hover {
    color: #c9d6ee;
    text-decoration: underline;
    text-decoration-color: rgba(201, 214, 238, 0.6);
    transform: translateY(-1px);
}

.discord-button:hover svg {
    opacity: 1;
}

.discord-button:focus-visible {
    outline: 2px solid #6f93e8;
    outline-offset: 2px;
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-button {
    background: none;
    border: none;
    color: #9CA3AF;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-button:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
}

.user-button::after {
    content: '\25BC';
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.user-dropdown.active .user-button::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #2a2e3a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.user-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    padding: 0.75rem 1rem;
    color: #9CA3AF;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu a:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 8px 8px;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
}


.dropdown-menu a .menu-icon {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
    opacity: 0.8;
    flex-shrink: 0;
}

.dropdown-menu a:hover .menu-icon {
    opacity: 1;
}
.dropdown-menu a.logout {
    color: #EF4444;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.dropdown-menu a.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

.activate-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 3rem;
    background: #21252e;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.activate-container h1 {
    color: #FFFFFF;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
}

.trial-info {
    background: rgba(251, 191, 36, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.trial-info h3 {
    color: #FBBF24;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.trial-info p {
    color: #D1D5DB;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.trial-info strong {
    color: #FBBF24;
}

.license-input {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background: #1a1d29;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    color: #FFFFFF;
}

.license-input:focus {
    outline: none;
    border-color: #5B9FED;
}

.license-input::placeholder {
    color: #6B7280;
}

.activate-button {
    background: #5B9FED;
    color: #FFFFFF;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.activate-button:hover {
    background: #4A8DD8;
    transform: translateY(-1px);
}

.activate-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.message {
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: none;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: block;
}

.message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: block;
}

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: #5B9FED;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: #4A8DD8;
}
