/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 75%, #64748b 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Animation - More subtle like reference site */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    will-change: transform;
}

.floating-card {
    position: absolute;
    width: 40px;
    height: 60px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 6px;
    opacity: 0.06;
    animation: float 8s ease-in-out infinite;
    will-change: transform, opacity;
    transform: translateZ(0); /* Force hardware acceleration */
}

.floating-card:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 65%;
    right: 12%;
    animation-delay: 3s;
}

.floating-card:nth-child(3) {
    bottom: 25%;
    left: 15%;
    animation-delay: 6s;
}

.floating-card:nth-child(4) {
    top: 35%;
    right: 25%;
    animation-delay: 2s;
}

.floating-card:nth-child(5) {
    top: 75%;
    left: 45%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.06;
    }
    50% {
        transform: translateY(-15px) rotate(90deg);
        opacity: 0.12;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - More similar to reference site */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    will-change: transform;
    transform: translateZ(0); /* Force hardware acceleration */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.brand-text {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1e293b;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

/* Buttons - Updated to match reference site style */
.btn {
    padding: 0.7rem 1.4rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
    will-change: transform;
    transform: translateZ(0); /* Force hardware acceleration */
}

.btn-primary {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    background: linear-gradient(45deg, #2563eb, #1e40af);
}

.btn-secondary {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.btn-login {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.btn-login:hover {
    background: #64748b;
    color: #fff;
    border-color: #64748b;
}

.btn-register {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    background: linear-gradient(45deg, #2563eb, #1e40af);
}

/* Hero Section - Updated layout to match reference site */
.hero {
    padding: 140px 0 100px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    position: relative;
    will-change: transform;
    transform: translateZ(0); /* Force hardware acceleration */
}

.hero-content {
    flex: 1;
    padding-right: 3rem;
    max-width: 600px;
}

.hero-title {
    font-size: 3.2rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
    animation: fadeInUp 1s ease-out;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.2s both;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-image {
    flex: 1;
    text-align: center;
    animation: fadeInRight 1s ease-out 0.6s both;
    position: relative;
}

.hero-img {
    max-width: 90%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Sections */
section {
    padding: 90px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    color: #1e293b;
    margin-bottom: 3.5rem;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    font-weight: 600;
}

/* Features Section - Updated styling */
.features {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.feature-card h3 {
    color: #1e293b;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #475569;
    line-height: 1.6;
    opacity: 0.9;
}

/* Games Section - Updated styling */
.games {
    background: rgba(255, 255, 255, 0.5);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Image Optimization Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive Images */
@media (max-width: 768px) {
    .hero-img {
        max-width: 100%;
        height: auto;
    }
    
    .game-image {
        height: 150px;
    }
    
    .game-image-large {
        height: 200px;
    }
    
    .banner-img {
        height: 200px;
    }
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image {
    transform: scale(1.05);
}

.game-card h3 {
    color: #1e293b;
    padding: 1.5rem 1.5rem 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.game-card p {
    color: #475569;
    padding: 0 1.5rem 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Registration Steps Section - Updated styling */
.registration-steps {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.step {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.step h3 {
    color: #1e293b;
    font-size: 1.3rem;
    margin: 1rem 0 1rem;
    font-weight: 600;
}

.step p {
    color: #475569;
    line-height: 1.7;
    opacity: 0.9;
}

/* CTA Section Styling */
.cta-section {
    text-align: center;
    margin: 3rem 0 2rem;
}

.cta-section .btn {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}

/* Additional CTA Sections */
.additional-cta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cta-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.cta-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
}

.cta-item h3 {
    color: #1e293b;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.cta-item .btn {
    font-size: 1rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}

/* Footer - Updated styling */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #475569;
    text-decoration: none;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section a:hover {
    color: #3b82f6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    color: #64748b;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 60px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid,
    .games-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .floating-card,
    .feature-card,
    .game-card,
    .step {
        animation: none;
        transition: none;
    }
}

@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .feature-card,
    .game-card,
    .step {
        border: 2px solid #3b82f6;
    }
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #3b82f6;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus styles */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .background-animation,
    .header,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Page Hero Styles */
.page-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
}

.page-title {
    font-size: 3rem;
    color: #1e293b;
    margin-bottom: 1rem;
    text-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Contact Page Styles */
.contact-info {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-method {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact-method:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-method h3 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-method p {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-details {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.contact-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Contact Form Styles */
.contact-form-section {
    background: rgba(255, 255, 255, 0.5);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ Quick Access */
.faq-quick-access {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.section-subtitle {
    text-align: center;
    color: #475569;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.faq-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 404 Error Page Styles */
.error-404 {
    padding: 120px 0 80px;
    text-align: center;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-number {
    font-size: 8rem;
    font-weight: 900;
    color: #3b82f6;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    margin-bottom: 1rem;
    line-height: 1;
}

.error-title {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.error-message {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.error-description {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.quick-links {
    margin-top: 2rem;
}

.quick-links h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-link {
    display: block;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #3b82f6;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-link:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Popular Games Section */
.popular-games {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.games-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-preview-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.game-preview-item:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.game-preview-item h3 {
    color: #1e293b;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.game-preview-item p {
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .error-number {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .games-preview {
        grid-template-columns: 1fr;
    }
}

/* Terms & Conditions Page Styles */
.terms-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.terms-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.terms-section {
    margin-bottom: 2.5rem;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section h2 {
    color: #1e293b;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    padding-bottom: 0.5rem;
}

.terms-section p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
}

.terms-section ul {
    color: #475569;
    line-height: 1.7;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
}

/* Responsive Design for Terms Page */
@media (max-width: 768px) {
    .terms-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .terms-section h2 {
        font-size: 1.3rem;
    }
}
