.content-wrapper { flex: 1; display: flex; justify-content: center; padding: 40px 20px; }
        .container {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(5px);
            padding: 40px;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            width: 100%;
            max-width: 800px;
        }

        .terms-content h1 {
            text-align: center;
            margin-bottom: 30px;
            font-size: 30px;
            background: linear-gradient(135deg, #0a3c64, #1976d2, #4fc3f7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 800;
            position: relative;
            display: inline-block;
            width: 100%;
        }

        .reveal {
            opacity: 0;
            transform: translateY(18px);
            transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .terms-section {
            margin-bottom: 16px;
            background: linear-gradient(135deg, #fafbfc 0%, #f8fbff 100%);
            border-radius: 12px;
            border-left: 4px solid #1976d2;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .terms-section:hover {
            box-shadow: 0 6px 20px rgba(25, 118, 210, 0.15);
            transform: translateX(3px);
        }

        .terms-section h2 {
            background: linear-gradient(135deg, #1976d2, #0a3c64);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin: 0;
            padding: 16px 20px;
            font-size: 19px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            user-select: none;
            font-weight: 700;
        }

.terms-section h2::after {
    content: '▼';
    font-size: 12px;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #4fc3f7, #1976d2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: rotate(90deg);
}

.terms-section.collapsed h2::after {
    transform: rotate(0deg);
}

        .terms-section .content {
            padding: 0 20px;
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                        opacity 0.3s ease,
                        padding 0.3s ease;
            color: #455a64;
            line-height: 1.7;
        }

        .terms-section:not(.collapsed) .content {
            padding: 4px 20px 16px;
            max-height: 800px;
            opacity: 1;
        }

        .terms-section ul {
            list-style: none;
            padding-left: 0;
            margin: 10px 0;
        }

        .terms-section li {
            position: relative;
            padding-left: 28px;
            margin-bottom: 12px;
            color: #455a64;
        }

        .terms-section li::before {
            content: '✓';
            position: absolute;
            left: 0;
            top: 2px;
            width: 20px;
            height: 20px;
            background: linear-gradient(135deg, #43a047, #66bb6a);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
        }

        .terms-section strong {
            color: #0a3c64;
            font-weight: 700;
        }

        .disclaimer-box {
            background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
            border-left: 4px solid #ffc107;
            padding: 16px 20px;
            border-radius: 10px;
            margin: 20px 0;
        }

        .disclaimer-box p {
            color: #856404;
            margin: 0;
            font-weight: 600;
        }

        .contact-link {
            color: #1976d2;
            font-weight: 700;
            text-decoration: none;
        }

        .contact-link:hover {
            text-decoration: underline;
        }

        .terms-date {
            font-size: 14px;
            color: #64748b;
            font-weight: 500;
            margin-bottom: 12px;
        }

        .terms-intro {
            font-size: 16px;
            color: #334155;
            line-height: 1.7;
            margin-bottom: 24px;
        }

        .terms-intro strong {
            color: #0a3c64;
            font-weight: 700;
        }
@media (max-width: 950px) {
    .site-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        height: 60px;
    }

    .site-header nav,
    .guest-nav,
    .user-menu {
        display: none !important;
    }

    .site-header .logo {
        flex: 1;
        justify-content: center;
    }

    .hamburger-btn {
        display: flex;
        flex-shrink: 0;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .content-wrapper {
        align-items: flex-start !important;
        padding-bottom: 20px;
    }
    .container {
        margin-bottom: 0 !important;
    }
}


            .mobile-menu-guest {
                padding: 20px 15px;
                display: flex;
                flex-direction: column;
                gap: 12px;
                animation: fadeIn 0.3s ease;
            }
            .mobile-menu-btn {
                display: block;
                padding: 14px 20px;
                text-align: center;
                border-radius: 10px;
                text-decoration: none;
                font-weight: 600;
                font-size: 15px;
                transition: all 0.3s ease;
            }
            .mobile-menu-login {
                background: rgba(255, 255, 255, 0.1);
                color: white;
                border: 2px solid rgba(255, 255, 255, 0.3);
            }
            .mobile-menu-login:hover {
                background: rgba(255, 255, 255, 0.2);
                border-color: white;
            }
            .mobile-menu-reg {
                background: white;
                color: #0a3c64;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            }
            .mobile-menu-reg:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
            }
         .guest-nav {
             display: flex;
             align-items: center;
             gap: 12px;
             animation: fadeIn 0.3s ease;
         }
         .btn-header-login {
             color: white;
             text-decoration: none;
             font-size: 14px;
             font-weight: 500;
             padding: 8px 16px;
             border: 1px solid rgba(255, 255, 255, 0.4);
             border-radius: 8px;
             transition: all 0.3s;
         }
         .btn-header-login:hover {
             background: rgba(255, 255, 255, 0.1);
             border-color: white;
         }
         .btn-header-reg {
             background: white;
             color: #0a3c64;
             text-decoration: none;
             font-size: 14px;
             font-weight: 700;
             padding: 8px 20px;
             border-radius: 8px;
             transition: all 0.3s;
             box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
         }
         .btn-header-reg:hover {
             transform: translateY(-2px);
             box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
         }
         @keyframes fadeIn {
             from { opacity: 0; transform: translateY(-10px); }
             to { opacity: 1; transform: translateY(0); }
         }

                 body.guest-mode .mobile-menu-profile,
                 body.guest-mode .mobile-menu-nav:first-of-type,
                 body.guest-mode #authMenuItems,
                 body.guest-mode .mobile-menu-divider {
                     display: none !important;
                 }
                 body.guest-mode .mobile-menu-guest {
                     display: flex !important;
                 }

                 .back-home-link {
                     display: inline-flex;
                     align-items: center;
                     gap: 8px;
                     color: #1976d2;
                     text-decoration: none;
                     font-size: 14px;
                     font-weight: 600;
                     margin-bottom: 20px;
                     transition: all 0.3s ease;
                     cursor: pointer;
                 }

                 .back-home-link span {
                     font-size: 18px;
                     transition: transform 0.3s ease;
                 }

                 .back-home-link:hover {
                     color: #0a3c64;
                 }

                 .back-home-link:hover span {
                     transform: translateX(-5px);
                 }

                 @media (max-width: 768px) {
                     .back-home-link {
                         font-size: 13px;
                         margin-bottom: 15px;
                     }
                 }