/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding: 0 0 10vh 0;
    background: transparent;
}

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(255, 107, 53, 0.05) 50%,
        rgba(0, 0, 0, 0.4) 100%
    ); */
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: #e0f2fe;
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
    color: #e0f2fe;
}

.title-line.highlight {
    background: linear-gradient(135deg, #00d4ff, #7c3aed, #06b6d4, #3b82f6);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out forwards;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: #e0f2fe;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.5;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.hero-buttons .btn {
    font-size: 1.1rem;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #00d4ff, #06b6d4);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.4);
    transform: scale(1.05);
}

.hero-buttons .btn-primary:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.6);
}

.hero-buttons .btn-secondary {
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4);
}

.hero-buttons .btn-secondary:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.6);
}

.hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: #ffffff;
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out, float 6s ease-in-out forwards 2s;
}

/* Particle Effect */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Contract Address Styles */
.hero-ca {
    margin-top: 2rem;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ca-label {
    font-size: 0.9rem;
    color: #40e0d0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ca-address {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    word-break: break-all;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.ca-address:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.6);
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
        padding: 80px 0 40px;
    }

    .hero-container {
        padding: 0 15px;
    }

    .hero-title {
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 85vh;
        padding: 70px 0 30px;
    }

    .hero-container {
        padding: 0 10px;
    }

    .hero-buttons .btn {
        font-size: 1rem;
        padding: 14px 28px;
    }

    .title-line {
        margin-bottom: 0.3rem;
    }

    .hero-ca {
        margin-top: 1.5rem;
        padding: 1rem;
        max-width: 100%;
    }

    .ca-address {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-gif {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}