
    :root {
        /* Color System */
        --primary-red: #dc2626;
        --primary-red-dark: #b91c1c;
        --primary-red-darker: #991b1b;
        --primary-red-light: #ef4444;
        --white: #ffffff;
        --gray-50: #f9fafb;
        --gray-100: #f3f4f6;
        --gray-200: #e5e7eb;
        --gray-300: #d1d5db;
        --gray-400: #9ca3af;
        --gray-500: #6b7280;
        --gray-600: #4b5563;
        --gray-700: #374151;
        --gray-800: #1f2937;
        --gray-900: #111827;

        /* Typography */
        --font-display: 'Playfair Display', serif;
        --font-body: 'Inter', sans-serif;

        /* Spacing */
        --space-xs: 0.5rem;
        --space-sm: 1rem;
        --space-md: 1.5rem;
        --space-lg: 2rem;
        --space-xl: 3rem;
        --space-2xl: 4rem;
        --space-3xl: 6rem;

        /* Border Radius */
        --radius-sm: 8px;
        --radius-md: 12px;
        --radius-lg: 16px;
        --radius-xl: 24px;
        --radius-full: 9999px;

        /* Shadows */
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
        --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
        --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.16);
        --shadow-red: 0 8px 32px rgba(220, 38, 38, 0.2);

        /* Transitions */
        --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
        --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Updated base styles with comprehensive system */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: var(--font-body);
        line-height: 1.6;
        color: var(--gray-800);
        background: var(--white);
        font-weight: 400;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        overflow-x: hidden;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 var(--space-lg);
    }

    /* Enhanced header with complete navigation system */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(220, 38, 38, 0.95);
        backdrop-filter: blur(20px);
        z-index: 1000;
        padding: var(--space-sm) 0;
        transition: all var(--transition-normal);
        box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
    }

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

    .logo {
        font-family: var(--font-display);
        font-size: 2rem;
        font-weight: 700;
        color: var(--white);
        text-decoration: none;
        position: relative;
        transition: all var(--transition-normal);
    }

    .logo::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: all var(--transition-normal);
    }

    .logo:hover {
        transform: translateY(-1px);
    }

    .nav-menu {
        display: flex;
        list-style: none;
        gap: 2.5rem;
        margin: 0;
        padding: 0;
    }

    .nav-menu a {
        text-decoration: none;
        color: var(--white);
        font-weight: 500;
        font-size: 1rem;
        transition: all var(--transition-normal);
        padding: 0.5rem 0;
        position: relative;
    }

    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--white);
        transition: width var(--transition-normal);
    }

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

    .nav-menu a:hover {
        color: rgba(255, 255, 255, 0.9);
    }

    .auth-buttons {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        border-radius: var(--radius-full);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all var(--transition-normal);
        border: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .btn-primary {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
        color: var(--white);
        border: none;
        box-shadow: var(--shadow-red);
    }

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--primary-red-dark) 0%, var(--primary-red-darker) 100%);
        transform: translateY(-2px);
        box-shadow: 0 12px 40px rgba(220, 38, 38, 0.3);
    }

    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
    }

    /* Replaced login section with hero section containing registration form */
    .hero {
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: var(--gray-900);
        padding: 120px var(--space-lg) var(--space-lg);
    }

    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(220, 38, 38, 0.35) 0%, rgba(0, 0, 0, 0.25) 100%);
        z-index: -1;
    }

    .hero-content {
        position: relative;
        z-index: 3;
        text-align: center;
        color: var(--white);
        max-width: 800px;
        padding: 0 var(--space-lg);
    }

    /* Registration form integrated into hero section */
    .login-container {
        position: relative;
        z-index: 3;
        background: var(--white);
        padding: 0;
        border-radius: 24px;
        box-shadow: var(--shadow-xl);
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        overflow: hidden;
        min-height: 550px;
        animation: slideUp 0.8s ease-out;
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .login-form-side {
        padding: 2.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: linear-gradient(135deg, #fffbf0 0%, #fef7ed 100%);
        min-height: 550px;
    }

    .login-visual-side {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 50%, var(--primary-red-darker) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        min-height: 550px;
    }

    .login-visual-side::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: url('/placeholder.svg?height=400&width=400') center/cover;
        opacity: 0.8;
        border-radius: 50%;
        animation: float 6s ease-in-out infinite;
    }

    @keyframes float {

        0%,
        100% {
            transform: translateY(0px) rotate(0deg);
        }

        50% {
            transform: translateY(-20px) rotate(2deg);
        }
    }

    .login-header {
        text-align: left;
        margin-bottom: 2rem;
    }

    .login-title {
        font-family: var(--font-body);
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-red-dark);
        margin-bottom: 0.5rem;
        letter-spacing: -0.025em;
    }

    .login-subtitle {
        color: var(--primary-red);
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
    }

    .error-message {
        background: #fef2f2;
        color: #dc2626;
        padding: 1rem;
        border-radius: 12px;
        margin-bottom: 1.5rem;
        border: 1px solid #fecaca;
        font-weight: 500;
        font-size: 0.9rem;
        animation: shake 0.5s ease-in-out;
    }

    /* Added success message styling */
    .success-message {
        background: #f0fdf4;
        color: #16a34a;
        padding: 1rem;
        border-radius: 12px;
        margin-bottom: 1.5rem;
        border: 1px solid #bbf7d0;
        font-weight: 500;
        font-size: 0.9rem;
        animation: slideDown 0.5s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .form-group {
        position: relative;
        margin-bottom: 1.25rem;
    }

    .form-label {
        display: block;
        font-weight: 500;
        color: var(--gray-700);
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        transition: all var(--transition-fast);
    }

    .form-input {
        width: 100%;
        padding: 1rem;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        font-size: 1rem;
        font-family: var(--font-body);
        transition: all 0.2s ease;
        background: #fafafa;
        color: var(--gray-900);
    }

    .form-input:focus {
        outline: none;
        border-color: var(--primary-red);
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
        background: var(--white);
    }

    .form-input:hover {
        border-color: #d1d5e1;
        background: var(--white);
    }

    .login-button {
        width: 100%;
        padding: 1rem;
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
        color: var(--white);
        border: none;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
        font-family: var(--font-body);
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .login-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
        transition: left 0.3s ease;
        z-index: -1;
    }

    .login-button:hover::before {
        left: 0;
    }

    .login-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    }

    .login-button:active {
        transform: translateY(0);
    }

    .social-login {
        margin: 1.5rem 0;
        text-align: center;
    }

    .social-divider {
        display: flex;
        align-items: center;
        margin: 1.5rem 0;
        color: #a16207;
        font-size: 0.9rem;
    }

    .social-divider::before,
    .social-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e5e7eb;
    }

    .social-divider span {
        padding: 0 1rem;
        background: linear-gradient(135deg, #fffbf0 0%, #fef7ed 100%);
    }

    .social-buttons {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
    }

    .social-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        background: var(--white);
        color: var(--gray-700);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .social-btn:hover {
        border-color: var(--primary-red);
        background: var(--gray-50);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .social-btn img {
        width: 20px;
        height: 20px;
    }

    .google-btn:hover {
        border-color: #4285f4;
        color: #4285f4;
    }

    .facebook-btn:hover {
        border-color: #1877f2;
        color: #1877f2;
    }

    .login-footer {
        text-align: center;
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid #f3f4f6;
    }

    .login-footer p {
        color: #a16207;
        font-size: 0.9rem;
    }

    .login-footer a {
        color: var(--primary-red);
        text-decoration: none;
        font-weight: 600;
        transition: color var(--transition-fast);
    }

    .login-footer a:hover {
        color: var(--primary-red-dark);
    }

    /* Completely redesigned footer with modern card-based layout */
    .footer {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 50%, var(--primary-red-darker) 100%);
        color: var(--white);
        padding: var(--space-3xl) 0;
        box-shadow: 0 -8px 32px rgba(220, 38, 38, 0.2);
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-xl);
        margin-bottom: var(--space-xl);
        align-items: start;
    }

    .footer-section {
        text-align: left;
    }

    .footer-section h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: var(--space-md);
        font-family: var(--font-body);
        text-align: left;
    }

    .footer-section p,
    .footer-section a {
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.8;
        text-decoration: none;
        transition: color var(--transition-fast);
    }

    .footer-section a:hover {
        color: var(--white);
    }

    .footer-section a {
        display: block;
        margin-bottom: var(--space-xs);
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: var(--space-xl);
        text-align: center;
    }

    .footer-bottom .creator {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: var(--space-xs);
    }

    .footer-bottom .copyright {
        color: rgba(255, 255, 255, 0.8);
    }

    /* Added password strength indicator styles */
    .password-strength-container {
        margin-top: 8px;
    }

    .password-strength-bar {
        width: 100%;
        height: 4px;
        background-color: #e5e7eb;
        border-radius: 2px;
        overflow: hidden;
        margin-bottom: 8px;
    }

    .password-strength-fill {
        height: 100%;
        width: 0%;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .password-strength-fill.weak {
        background-color: #ef4444;
        width: 25%;
    }

    .password-strength-fill.fair {
        background-color: #f59e0b;
        width: 50%;
    }

    .password-strength-fill.good {
        background-color: #10b981;
        width: 75%;
    }

    .password-strength-fill.strong {
        background-color: #059669;
        width: 100%;
    }

    .password-strength-text {
        font-size: 12px;
        font-weight: 500;
        margin-bottom: 8px;
        transition: color 0.3s ease;
    }

    .password-strength-text.weak {
        color: #ef4444;
    }

    .password-strength-text.fair {
        color: #f59e0b;
    }

    .password-strength-text.good {
        color: #10b981;
    }

    .password-strength-text.strong {
        color: #059669;
    }

    .password-requirements {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        font-size: 11px;
        color: #6b7280;
    }

    .requirement {
        transition: color 0.3s ease;
    }

    .requirement.met {
        color: #10b981;
        font-weight: 500;
    }

    @media (max-width: 1024px) {
        .footer-content {
            grid-template-columns: 1fr 1fr;
            gap: var(--space-xl);
        }

        .footer-brand {
            grid-column: 1 / -1;
            max-width: none;
            text-align: center;
            margin-bottom: var(--space-lg);
        }
    }

    @media (max-width: 768px) {
        .hero {
            padding: 100px var(--space-md) var(--space-md);
            min-height: 100vh;
        }

        .nav-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: rgba(220, 38, 38, 0.98);
            flex-direction: column;
            padding: var(--space-lg);
            gap: var(--space-md);
            box-shadow: var(--shadow-lg);
        }

        .nav-menu.active {
            display: flex;
        }

        .mobile-menu-btn {
            display: block;
        }

        .login-container {
            grid-template-columns: 1fr;
            max-width: 380px;
            margin: 0 auto;
            min-height: auto;
        }

        .login-visual-side {
            display: none;
        }

        .login-form-side {
            padding: 2rem;
            min-height: auto;
        }

        .login-title {
            font-size: 1.75rem;
            text-align: center;
        }

        .login-subtitle {
            text-align: center;
        }

        .footer-content {
            grid-template-columns: 1fr;
            gap: var(--space-lg);
            text-align: center;
        }

        .footer-section {
            text-align: center;
        }

        .footer-section h3 {
            text-align: center;
        }
    }

    /* Accessibility improvements */
    @media (prefers-reduced-motion: reduce) {

        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }

    .login-button:focus {
        outline: 2px solid var(--white);
        outline-offset: 2px;
    }

    /* Added password visibility toggle styles */
    .password-input-container {
        position: relative;
        display: flex;
        align-items: center;
    }

    .password-toggle {
        position: absolute;
        right: 12px;
        background: none;
        border: none;
        cursor: pointer;
        color: #666;
        padding: 4px;
        border-radius: 4px;
        transition: all 0.3s ease;
        z-index: 10;
    }

    .password-toggle:hover {
        color: #dc2626;
        background-color: rgba(220, 38, 38, 0.1);
    }

    .password-toggle:focus {
        outline: none;
        color: #dc2626;
    }

    .eye-icon {
        transition: all 0.3s ease;
    }

    .password-toggle.hidden .eye-icon {
        opacity: 0.6;
    }

    .password-toggle.hidden .eye-icon path:first-child {
        stroke-dasharray: 4 4;
    }

    /* Adjust input padding to make room for toggle button */
    .password-input-container .form-input {
        padding-right: 45px;
    }