/* Solo Leveling Website - Dark Theme CSS */

/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #8a2be2;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --dark-surface: #121218;
    --text-primary: #ffffff;
    --text-secondary: #b3b3cc;
    --text-muted: #7a7a8c;
    --shadow-color: rgba(106, 17, 203, 0.4);
    --shadow-glow: rgba(106, 17, 203, 0.2);
    --gate-color: rgba(37, 117, 252, 0.8);
    
    /* Fonts */
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Sizes */
    --header-height: 80px;
    --section-spacing: 100px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    margin-bottom: 1rem;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-primary);
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity var(--transition-medium);
}

.loading-container {
    text-align: center;
}

.shadow-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--dark-surface);
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px var(--shadow-glow);
}

.shadow-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: loading-shine 2s infinite;
}

.loading-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.loading-bar {
    width: 250px;
    height: 6px;
    background: var(--dark-surface);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: loading-progress 3s ease forwards;
}

@keyframes loading-shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

@keyframes loading-progress {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 100;
    transition: all var(--transition-fast);
}

header.scrolled {
    height: 70px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-fast);
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1534972195531-d756b9bfa9f2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    width: 50%;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    animation-delay: 0.7s;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    animation-delay: 0.9s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    animation-delay: 1.1s;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.shadow-effect {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
    height: 80%;
    background: url('https://images.unsplash.com/photo-1579546929518-9e396f3cc809?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    opacity: 0.3;
    filter: blur(40px);
    animation: pulse 4s infinite alternate;
}

.character-silhouette {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 70%;
    height: 80%;
    background: url('https://images.unsplash.com/photo-1635805737707-575885ab0820?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80') no-repeat center center/contain;
    animation: float 6s ease-in-out infinite;
}

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

@keyframes pulse {
    0% {
        opacity: 0.2;
        transform: translateY(-50%) scale(1);
    }
    100% {
        opacity: 0.4;
        transform: translateY(-50%) scale(1.1);
    }
}

@keyframes float {
    0% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-53%);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* ===== CHARACTERS SECTION ===== */
.characters {
    padding: var(--section-spacing) 5%;
    background-color: var(--darker-bg);
    position: relative;
}

.characters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1579546929662-711aa81148cf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    opacity: 0.05;
    z-index: 0;
}

.character-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.character-card {
    background-color: var(--dark-surface);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(106, 17, 203, 0.7));
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 1;
}

.character-card:hover::before {
    opacity: 1;
}

.character-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.character-card:hover .character-image img {
    transform: scale(1.1);
}

.character-info {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.character-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.character-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.character-detail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.character-detail.active {
    opacity: 1;
    visibility: visible;
}

.character-detail-content {
    display: flex;
    width: 80%;
    max-width: 1000px;
    background-color: var(--dark-surface);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform var(--transition-medium);
}

.character-detail.active .character-detail-content {
    transform: scale(1);
}

.character-detail-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 1001;
    transition: all var(--transition-fast);
}

.character-detail-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.character-detail-image {
    width: 40%;
    height: 500px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.character-detail-info {
    width: 60%;
    padding: 40px;
}

.character-detail-name {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.character-detail-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.character-detail-description {
    margin-bottom: 30px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.character-detail-stats {
    margin-top: 30px;
}

.stat {
    margin-bottom: 15px;
}

.stat-name {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-bar {
    width: 100%;
    height: 8px;
    background-color: var(--dark-bg);
    border-radius: 4px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    width: 0;
    transition: width 1s ease;
}

/* ===== ABILITIES SECTION ===== */
.abilities {
    padding: var(--section-spacing) 5%;
    background-color: var(--dark-bg);
    position: relative;
}

.abilities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--shadow-glow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 0;
}

.abilities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.ability-card {
    background-color: var(--dark-surface);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.ability-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: 0;
}

.ability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.ability-card:hover::before {
    opacity: 0.1;
}

.ability-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dark-bg);
    position: relative;
    z-index: 1;
}

.ability-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.2;
    transition: opacity var(--transition-fast);
}

.ability-card:hover .ability-icon::before {
    opacity: 0.5;
}

.shadow-icon::after,
.domination-icon::after,
.monarch-icon::after,
.system-icon::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.shadow-icon::after {
    background-image: url('https://img.icons8.com/fluency/48/000000/shadow.png');
}

.domination-icon::after {
    background-image: url('https://img.icons8.com/fluency/48/000000/crown.png');
}

.monarch-icon::after {
    background-image: url('https://img.icons8.com/fluency/48/000000/sword.png');
}

.system-icon::after {
    background-image: url('https://img.icons8.com/fluency/48/000000/up-squared.png');
}

.ability-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.ability-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: var(--section-spacing) 5%;
    background-color: var(--darker-bg);
    position: relative;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 15, 0.8));
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 8, 0.95);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 1001;
    transition: all var(--transition-fast);
}

.gallery-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.gallery-full-image {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.gallery-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.gallery-prev,
.gallery-next {
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.gallery-prev:hover,
.gallery-next:hover {
    color: var(--primary-color);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-spacing) 5%;
    background-color: var(--dark-bg);
    position: relative;
}

.about-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.about-text {
    flex: 2;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background-color: var(--dark-surface);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-fast);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.stat-box h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.stat-box p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--darker-bg);
    padding: 80px 5% 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    color: var(--text-secondary);
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

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

.footer-links ul li a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--dark-surface);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-5px);
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .character-detail-content {
        width: 90%;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: var(--header-height);
    }
    
    .hero-content {
        width: 100%;
        margin-bottom: 50px;
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        position: relative;
        width: 100%;
        height: 50vh;
    }
    
    .shadow-effect {
        right: 0;
        width: 100%;
    }
    
    .character-silhouette {
        right: 0;
        width: 100%;
    }
    
    .character-detail-content {
        flex-direction: column;
    }
    
    .character-detail-image {
        width: 100%;
        height: 300px;
    }
    
    .character-detail-info {
        width: 100%;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 70px;
    }
    
    header {
        padding: 0 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--darker-bg);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-fast);
        z-index: 99;
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 1s ease forwards;
}

.slide-in-right {
    animation: slideInRight 1s ease forwards;
}

.slide-in-up {
    animation: slideInUp 1s ease forwards;
}

/* Gate animation */
.gate-animation {
    position: relative;
    overflow: hidden;
}

.gate-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--gate-color), transparent 70%);
    opacity: 0;
    z-index: 0;
    animation: gateAppear 3s ease-in-out infinite;
}

@keyframes gateAppear {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Shadow animation */
.shadow-animation {
    position: relative;
}

.shadow-animation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    filter: blur(10px);
    animation: shadowPulse 2s ease-in-out infinite;
}

@keyframes shadowPulse {
    0% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 0.7;
        transform: scaleX(1.2);
    }
    100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
}