/* TANTRA NEMESIS - Modern MMORPG Website Styles */
/* Inspired by Blade & Soul Heroes design with transparency effects */

@charset "utf-8";

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px; /* Account for fixed navbar */
}

/* Enhanced smooth scrolling for all browsers */
* {
    scroll-behavior: smooth;
}

/* Smooth scrolling for webkit browsers */
html {
    -webkit-overflow-scrolling: touch;
}

/* Smooth scrolling for Firefox */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Smooth scrolling for all elements */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 2;
}

/* Transparent Navigation */
.transparent-nav {
    position: sticky;
    position: -webkit-sticky; /* Safari support */
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    will-change: background-color, backdrop-filter;
}

.transparent-nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

.server-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.btn-register, .btn-login {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-register {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-login {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00d4ff;
    color: #00d4ff;
}

/* User Info Styles */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.welcome-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 15px;
}

.welcome-text:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    transform: translateY(-1px);
}

.welcome-text strong {
    color: #00d4ff;
    font-weight: 700;
}

.btn-logout {
    padding: 8px 20px;
    background: #ff4444;
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-logout:hover {
    background: transparent;
    border-color: #ff4444;
    color: #ff4444;
    transform: translateY(-2px);
}

/* Login Dropdown */
.login-dropdown {
    position: relative;
}

.login-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    min-width: 300px;
    margin-top: 10px;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.login-content h3 {
    color: #00d4ff;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Orbitron', monospace;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #ffffff;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #00d4ff;
    text-decoration: none;
    font-size: 12px;
}

/* Hero Content */

.hero-logo {
    width: 35vw;
    max-width: 550px;
    height: auto;
    animation: floatImage 3s ease-in-out infinite;
    -webkit-animation: floatImage 3s ease-in-out infinite;
    -moz-animation: floatImage 3s ease-in-out infinite;
    -o-animation: floatImage 3s ease-in-out infinite;
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    display: block;
    margin: 0 auto;
    will-change: transform;
    /* Debug styles - remove these after testing */
    /* border: 2px solid rgba(0, 212, 255, 0.3); */
    /* box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); */
}

@keyframes floatImage {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
    100% {
        transform: translateY(0px);
    }
}

@-webkit-keyframes floatImage {
    0% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }
    50% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }
}

@-moz-keyframes floatImage {
    0% {
        -moz-transform: translateY(0px);
        transform: translateY(0px);
    }
    50% {
        -moz-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    100% {
        -moz-transform: translateY(0px);
        transform: translateY(0px);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    margin-bottom: 20px;
    letter-spacing: 3px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    }
    to {
        text-shadow: 0 0 40px rgba(0, 212, 255, 0.8), 0 0 60px rgba(0, 212, 255, 0.3);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #00d4ff;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.btn-play-now, .btn-learn-more {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-play-now {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.btn-play-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.btn-learn-more {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-learn-more:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00d4ff;
    color: #00d4ff;
}

/* Main Content Sections */
#main-content {
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: #00d4ff;
    margin-bottom: 15px;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #0a0a0a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    color: #00d4ff;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.about-text p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0a0a0a 100%);
}

.download-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.download-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #00d4ff;
    margin-bottom: 20px;
}

.download-info p {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.download-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: #ff6b35;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.stat-label {
    display: block;
    color: #cccccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-download, .btn-register-alt {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-download {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.btn-register-alt {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-register-alt:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00d4ff;
    color: #00d4ff;
}

/* Community Section */
.community-section {
    padding: 100px 0;
    background: #0a0a0a;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.community-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.community-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #00d4ff;
    margin-bottom: 15px;
}

.community-card p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-community {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-community:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

/* Footer */
#footer {
    background: #000000;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Orbitron', monospace;
    color: #00d4ff;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00d4ff;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00d4ff;
    color: #000000;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-logos img {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-logos img:hover {
    opacity: 1;
}

.footer-bottom p {
    color: #888888;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        height: 80px;
        padding: 0 20px;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }
    
    /* Center the logo */
    .nav-logo {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
    }
    
    /* Keep nav actions on the right */
    .nav-actions {
        order: 3;
    }
    
    /* Hide nav menu by default on mobile */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 50px 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        margin: 0;
        gap: 30px;
    }
    
    /* Show nav menu when active */
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 20px;
        font-size: 1.2rem;
        border-radius: 10px;
        width: 100%;
        text-align: center;
    }
    
    /* Adjust nav actions for mobile */
    .nav-actions {
        gap: 10px;
    }
    
    .btn-register, .btn-login {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .user-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .welcome-text {
        font-size: 12px;
        text-align: center;
    }
    
    .btn-logout {
        padding: 6px 15px;
        font-size: 11px;
    }
    
    /* Login dropdown adjustments for mobile */
    .login-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        right: auto;
        min-width: 90vw;
        max-width: 400px;
        margin: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        grid-template-columns: 1fr;
    }
    
    .download-stats {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
}

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

.feature-card, .community-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Registration Page Styles */
.register-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.register-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/home.jpeg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.register-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.register-header {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
}

.register-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: #00d4ff;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.register-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    font-weight: 400;
}

.register-section {
    padding: 80px 0;
    background: #0a0a0a;
    min-height: 100vh;
}

.register-container {
    max-width: 800px;
    margin: 0 auto;
}

.register-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: #00d4ff;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.form-header p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 30px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #00d4ff;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.section-icon {
    font-size: 1.8rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

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

.form-group label {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 40px 12px 15px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

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

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

.form-group small {
    color: #888888;
    font-size: 0.8rem;
    margin-top: 5px;
    line-height: 1.4;
}

.birth-date-group {
    grid-column: 1 / -1;
}

.birth-date-inputs {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 15px;
}

.birth-date-inputs select,
.birth-date-inputs input {
    width: 100%;
}

.terms-section {
    text-align: center;
    margin-bottom: 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #cccccc;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #00d4ff;
    border-color: #00d4ff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-weight: bold;
    font-size: 12px;
}

.terms-link {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.btn-register-submit {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.btn-register-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.btn-register-submit:active {
    transform: translateY(-1px);
}

.btn-cancel {
    color: #cccccc;
    text-decoration: none;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-cancel:hover {
    color: #ffffff;
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

/* Form Validation Styles */
.was-validated .form-group input:invalid,
.was-validated .form-group select:invalid {
    border-color: #ff6b35;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.was-validated .form-group input:valid,
.was-validated .form-group select:valid {
    border-color: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Live Validation Styles */
.field-valid {
    border-color: #00d4ff !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3) !important;
    background: rgba(0, 212, 255, 0.05) !important;
}

.field-invalid {
    border-color: #ff6b35 !important;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3) !important;
    background: rgba(255, 107, 53, 0.05) !important;
}

.field-error {
    color: #ff6b35;
    font-size: 0.8rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.field-error::before {
    content: '⚠';
    font-size: 0.9rem;
}

/* Password Strength Indicator */
.password-strength {
    font-size: 0.8rem;
    margin-top: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.password-strength.very-weak {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
    border: 1px solid #ff4444;
}

.password-strength.weak {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
    border: 1px solid #ffa500;
}

.password-strength.fair {
    background: rgba(255, 255, 0, 0.2);
    color: #ffff00;
    border: 1px solid #ffff00;
}

.password-strength.good {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid #00ff00;
}

.password-strength.strong {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border: 1px solid #00d4ff;
}

/* Loading state for availability checks */
.field-checking {
    position: relative;
}

.field-checking::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #00d4ff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Success checkmark for valid fields */
.field-valid {
    position: relative;
}

.field-valid::after {
    content: '✓';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #00d4ff;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 10;
}

/* Error X for invalid fields */
.field-invalid {
    position: relative;
}

.field-invalid::after {
    content: '✗';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff6b35;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 10;
}

/* Responsive Design for Registration */
@media (max-width: 768px) {
    .register-title {
        font-size: 2.5rem;
    }
    
    .register-form-wrapper {
        padding: 25px;
        margin: 0 15px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .birth-date-inputs {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-register-submit,
    .btn-cancel {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .register-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .register-title {
        font-size: 2rem;
    }
    
    .register-subtitle {
        font-size: 1.1rem;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}

/* Enhanced smooth scrolling performance */
html, body {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

/* Smooth scrolling for all scrollable elements */
* {
    scroll-behavior: smooth;
}

/* Performance optimizations for smooth scrolling */
html {
    will-change: scroll-position;
}

body {
    will-change: scroll-position;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Smooth scrolling for specific elements */
.smooth-scroll {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Enhanced scroll performance */
.container, .section, .content {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

/* Selection colors */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(0, 212, 255, 0.3);
    color: #ffffff;
}