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

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --text-light: #ffffff;
    --text-gray: #b8b8b8;
    --accent-gold: #ffd700;
    --success-color: #4caf50;
    --error-color: #f44336;
}

/* 3D Icon Styles */
.icon-3d {
    display: inline-block;
    transform: perspective(500px) rotateY(-5deg) rotateX(5deg);
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.3),
        4px 4px 0px rgba(0, 0, 0, 0.2),
        6px 6px 10px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.3),
        inset -1px -1px 0px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 215, 0, 0.8) 50%, rgba(255, 200, 0, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--accent-gold);
}

.icon-3d:hover {
    transform: perspective(500px) rotateY(0deg) rotateX(0deg) scale(1.1);
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.3),
        4px 4px 0px rgba(0, 0, 0, 0.2),
        8px 8px 15px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.5),
        inset -1px -1px 0px rgba(255, 255, 255, 0.3);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.eye-icon.icon-3d {
    -webkit-text-fill-color: var(--text-light);
    color: var(--text-light);
    background: none;
    font-size: 1.2rem;
}

.btn-loader.icon-3d {
    -webkit-text-fill-color: var(--text-light);
    color: var(--text-light);
    background: none;
}

.benefits-list .icon-3d {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.social-btn .icon-3d {
    -webkit-text-fill-color: var(--text-light);
    color: var(--text-light);
    background: none;
    margin-right: 0.5rem;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('../images/spinfred-background.png') center center / cover no-repeat fixed;
    background-color: var(--dark-bg);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    background: rgba(0, 0, 0, 0.7);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--accent-gold);
    font-weight: bold;
}

.breadcrumb-list a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--accent-gold);
}

.breadcrumb-list span {
    color: #ffffff;
}

/* Navbar */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: inline-block;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.nav-menu-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.nav-menu-center a,
.nav-menu-right a {
    white-space: nowrap;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.nav-menu a.active {
    color: var(--accent-gold);
}

.nav-menu a.active:not(:has(img))::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
}

/* Navigation Image Buttons */
.nav-menu a img {
    display: block;
}

.nav-button-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-menu a:hover .nav-button-img {
    transform: scale(1.1);
}

.nav-menu a.active .nav-button-img {
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

/* Auth Section */
.auth-section {
    padding: 3rem 2rem;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    width: 100%;
    align-items: center;
}

.auth-card {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.auth-header p {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 1),
        0 0 20px rgba(0, 0, 0, 0.8);
}

.auth-header p a {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.25);
    padding: 3px 8px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
    border-bottom: 2px solid #4ecdc4;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(78, 205, 196, 0.6);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    display: inline-block;
    margin: 0 2px;
}

.auth-header p a:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.35);
    border-bottom-color: #ffd700;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(255, 215, 0, 0.8);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.5);
    transform: translateY(-1px);
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 1),
        0 0 20px rgba(0, 0, 0, 0.8);
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-shadow: 
        1px 1px 4px rgba(0, 0, 0, 0.8);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.form-group input::placeholder {
    color: var(--text-gray);
}

.form-group input[type="date"] {
    cursor: pointer;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-gray);
    font-size: 1.2rem;
    padding: 5px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--accent-gold);
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

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

.strength-fill.weak {
    width: 33%;
    background: var(--error-color);
}

.strength-fill.medium {
    width: 66%;
    background: #ffa500;
}

.strength-fill.strong {
    width: 100%;
    background: var(--success-color);
}

.strength-text {
    font-size: 0.85rem;
    color: #ffffff;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 1),
        0 0 20px rgba(0, 0, 0, 0.8);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    color: #ffffff;
    font-size: 0.9rem;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 1),
        0 0 20px rgba(0, 0, 0, 0.8);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-label a:hover {
    color: var(--accent-gold);
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    min-height: 20px;
    display: block;
}

/* Buttons */
.btn {
    padding: 14px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #ff8e8e);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 1rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    background: rgba(0, 0, 0, 0.85);
    padding: 0 1rem;
    position: relative;
    color: #ffffff;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 1),
        0 0 20px rgba(0, 0, 0, 0.8);
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-btn {
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.auth-footer {
    text-align: center;
    margin-top: 1rem;
    color: #ffffff;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 1),
        0 0 20px rgba(0, 0, 0, 0.8);
}

.auth-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--accent-gold);
}

/* Footer Image Buttons */
.footer-link-img {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.footer-link-img:hover {
    transform: translateY(-2px);
}

.footer-button-img {
    height: auto;
    max-width: 150px;
    width: 100%;
    display: block;
}

/* Auth Image */
.auth-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-benefits {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.register-benefits h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.benefits-list li {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 3px solid var(--accent-gold);
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 1),
        0 0 20px rgba(0, 0, 0, 0.8);
}

.benefits-list li a,
.register-benefits p a {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.25);
    padding: 3px 8px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
    border-bottom: 2px solid #4ecdc4;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(78, 205, 196, 0.6);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    display: inline-block;
    margin: 0 2px;
}

.benefits-list li a:hover,
.register-benefits p a:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.35);
    border-bottom-color: #ffd700;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(255, 215, 0, 0.8);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.5);
    transform: translateY(-1px);
}

.benefits-list li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    border-left-color: var(--secondary-color);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.85);
    padding: 2rem 0;
    text-align: center;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

footer p {
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 1),
        0 0 20px rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .auth-image {
        order: -1;
    }

    .register-benefits {
        padding: 2rem;
    }
}

/* Responsive Breadcrumbs */
@media (max-width: 768px) {
    .breadcrumbs {
        padding: 0.5rem 0;
    }
    
    .breadcrumb-list {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar .container {
        grid-template-columns: 1fr auto;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu-center {
        position: static;
        transform: none;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .nav-menu-right {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        align-items: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-header h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

