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

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(102, 126, 234, 0.5), 0 0 10px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.8), 0 0 30px rgba(102, 126, 234, 0.5), 0 0 40px rgba(102, 126, 234, 0.3); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(-45deg, #0a0a0a, #1a1a2e, #16213e, #0f3460);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%), radial-gradient(circle at 40% 20%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Sticky Navigation */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.98) 0%, rgba(118, 75, 162, 0.98) 100%);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

.sticky-nav .nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95em;
    background: rgba(255,255,255,0.1);
}

.nav-link:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Navigation Bar (for other pages) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo::before {
    content: "⚡";
    font-size: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.nav-links a:hover {
    color: #667eea;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-button {
    background: none;
    color: white;
    padding: 5px 0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
    margin: 0;
}

.nav-button:hover {
    color: #667eea;
    transform: translateY(-2px);
}

@keyframes popOut {
    0% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.15) translateY(-3px);
    }
    100% {
        transform: scale(1.1) translateY(-2px);
    }
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Top Info Bar */
.top-info-bar {
    background: linear-gradient(135deg, #1f1f1f 0%, #2d2d2d 100%);
    padding: 15px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.info-item {
    flex: 1;
    min-width: 200px;
}

.info-item:last-child {
    text-align: right;
}

.info-label {
    font-size: 0.9em;
    color: #a78bfa;
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.2em;
    color: #ffd700;
    font-family: monospace;
    font-weight: bold;
}

.info-item:last-child .info-value {
    color: #5865f2;
    font-family: inherit;
}

/* Header */
.header {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    animation: gradient 8s ease infinite;
    padding: 50px 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 60px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.header h1 {
    font-size: 3.5em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.header p {
    font-size: 1.3em;
    margin: 10px 0 0 0;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Section */
.section {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.95) 0%, rgba(31, 31, 31, 0.95) 100%);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 12px;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: slideIn 0.6s ease-out;
}

.section:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2), 0 5px 15px rgba(0,0,0,0.3);
    border-left-color: #a78bfa;
}

.section h2 {
    color: #667eea;
    font-size: 2.2em;
    margin-top: 0;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
    display: inline-block;
}

.section h3 {
    color: #a78bfa;
    font-size: 1.6em;
    margin-top: 25px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.stat-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.stat-box:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

.stat-box:hover .number {
    animation: float 1s ease-in-out infinite;
}

.stat-box .number {
    font-size: 2.5em;
    font-weight: bold;
    color: #ffd700;
}

.stat-box .label {
    font-size: 1em;
    opacity: 0.9;
    margin-top: 5px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(58, 58, 58, 0.9) 0%, rgba(42, 42, 42, 0.9) 100%);
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #667eea;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4), 0 5px 15px rgba(167, 139, 250, 0.3);
    border-color: #a78bfa;
}

.feature-card h4 {
    color: #a78bfa;
    margin-top: 0;
    font-size: 1.4em;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #3a3a3a;
}

.feature-card ul li:before {
    content: "✦ ";
    color: #667eea;
    font-weight: bold;
    margin-right: 5px;
}

.feature-card ul li:last-child {
    border-bottom: none;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 10px;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.8), 0 5px 15px rgba(34, 197, 94, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    animation: glow 2s ease-in-out infinite;
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

.page-header {
    text-align: center;
    color: white;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.hero {
    text-align: center;
    color: white;
    padding: 60px 20px;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4);
    animation: buttonPulse 0.6s ease-out;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4);
    animation: buttonPulse 0.6s ease-out;
}

@keyframes buttonPulse {
    0% {
        transform: translateY(-5px) scale(1.05);
    }
    50% {
        transform: translateY(-7px) scale(1.08);
    }
    100% {
        transform: translateY(-5px) scale(1.05);
    }
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    color: white;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 10px;
}

.feature-detail {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Content Sections */
.info-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    color: white;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-section:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.info-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
}

.info-section p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-section ul {
    list-style: none;
    padding-left: 0;
}

.info-section ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.info-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 20px;
}

.info-section h3 {
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.info-section code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.rank-card,
.class-card,
.race-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    cursor: pointer;
}

.rank-card:hover,
.class-card:hover,
.race-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    border-left-width: 6px;
}

.rank-card h3,
.class-card h3,
.race-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.rank-card .price {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 15px;
}

.rank-card ul,
.class-card ul,
.race-card ul {
    margin-top: 10px;
}

.gem-rarity-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gem-rarity-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    border-left-width: 6px;
}

.gem-rarity-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.rarity-color {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.race-theme,
.class-role {
    font-size: 16px;
    color: #667eea;
    margin-bottom: 10px;
    font-weight: 600;
}

.command-panel,
.synergy-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    transition: all 0.3s ease;
}

.synergy-panel:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.progression-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    margin: 0;
}

.progression-table thead {
    background: rgba(167, 139, 250, 0.3);
}

.progression-table th {
    padding: 15px;
    text-align: left;
    color: #a78bfa;
    font-weight: 600;
    font-size: 16px;
}

.progression-table td {
    padding: 12px 15px;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.progression-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.progression-table .prestige-row {
    background: rgba(245, 158, 11, 0.1);
}

.progression-table .prestige-row:hover {
    background: rgba(245, 158, 11, 0.15);
}

.progression-table .prestige-max {
    background: rgba(239, 68, 68, 0.15);
}

.progression-table .prestige-max:hover {
    background: rgba(239, 68, 68, 0.2);
}

.race-note {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.race-note:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.gem-stack-banner {
    background: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gem-category-panel,
.gem-system-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    transition: all 0.3s ease;
}

.gem-category-panel:hover,
.gem-system-panel:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.shop-content,
.vaults-content,
.factions-content,
.stats-content,
.help-content {
    color: white;
}

/* Login Form */
.login-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.login-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    color: white;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

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

.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group select:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.form-group select:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.form-group select option {
    background: #1a1a2e;
    color: #fff;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.5);
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.form-divider span {
    padding: 0 15px;
    font-size: 14px;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group .link {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-group .link:hover {
    color: #7c8ef0;
    text-decoration: underline;
}

.error-message {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #ffcdd2;
}

.error-message strong {
    color: #f44336;
}

/* Footer */
.footer {
    background: rgba(20, 20, 30, 0.9);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }

        .nav-links {
            flex-wrap: wrap;
            gap: 10px;
        }

        .nav-links a {
            font-size: 12px;
        }

    .hero h1,
    .page-header h1 {
        font-size: 32px;
    }

    .hero p,
    .page-header p {
        font-size: 16px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .login-form {
        padding: 30px 20px;
    }
    
    .form-divider {
        margin: 15px 0;
    }
    
    .checkbox-group label {
        font-size: 13px;
    }
}

