/* ========== ROOT & GLOBAL STYLES ========== */
:root {
    --primary: #ff006e;
    --secondary: #00d4ff;
    --dark: #0a0a0a;
    --darker: #050505;
    --light: #f5f5f5;
    --accent: #ffd60a;
    --success: #06ffa5;
    --neon-pink: #ff006e;
    --neon-cyan: #00d4ff;
    --red: #ff0000;
    --white: #ffffff;
    --light-yellow: #ffff99;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', 'Fredoka One', sans-serif;
    background: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.85)), url('assets/background.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--light);
    overflow-x: hidden;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

/* ========== LOADING PAGE ========== */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker) 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOutLoading 0.8s ease-in-out 3s forwards;
}

@keyframes fadeOutLoading {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.loading-content {
    text-align: center;
    animation: slideUp 1s ease-in-out;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    position: relative;
    margin: 0 auto 20px;
}

.loading-spinner div {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--secondary);
    border-radius: 50%;
    animation: loadingBounce 1.4s infinite ease-in-out both;
    box-shadow: 0 0 20px var(--secondary);
}

.loading-spinner div:nth-child(1) {
    left: 8px;
    animation-delay: -0.32s;
}

.loading-spinner div:nth-child(2) {
    left: 32px;
    animation-delay: -0.16s;
}

.loading-spinner div:nth-child(3) {
    left: 56px;
    animation-delay: 0s;
}

.loading-spinner div:nth-child(4) {
    left: 80px;
    animation-delay: 0.16s;
}

@keyframes loadingBounce {
    0%, 80%, 100% {
        box-shadow: 0 0 20px var(--secondary);
        height: 16px;
        top: 32px;
    }
    40% {
        box-shadow: 0 0 40px var(--neon-pink);
        height: 32px;
        top: 12px;
    }
}

.loading-text {
    font-family: 'Fredoka One', 'Fredoka', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 20px 0;
    background: linear-gradient(90deg, var(--red), var(--white), var(--light-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px var(--red);
    animation: pulse 1.5s ease-in-out infinite;
    letter-spacing: 3px;
}

.loading-subtext {
    font-size: 1rem;
    color: var(--secondary);
    letter-spacing: 2px;
    animation: blink 1.5s infinite;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== NAVIGATION ========== */
.navbar {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--secondary);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
}

.navbar-brand {
    font-family: 'Fredoka One', 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(90deg, var(--red), var(--white), var(--light-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar-brand:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.nav-link {
    font-weight: 600;
    margin: 0 10px;
    position: relative;
    color: var(--light) !important;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--white), var(--light-yellow));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--secondary) !important;
    text-shadow: 0 0 10px var(--secondary);
}

.nav-link.active {
    color: var(--secondary) !important;
    text-shadow: 0 0 15px var(--secondary);
    font-weight: 700;
}

/* ========== HERO SECTION ========== */
.hero-section {
    min-height: 100vh;
    background-image: url('assets/background.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.stars::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--neon-cyan), rgba(0, 212, 255, 0)),
        radial-gradient(2px 2px at 60px 70px, var(--neon-pink), rgba(255, 0, 110, 0)),
        radial-gradient(1px 1px at 50px 50px, var(--light), rgba(245, 245, 245, 0)),
        radial-gradient(1px 1px at 130px 80px, var(--secondary), rgba(0, 212, 255, 0)),
        radial-gradient(2px 2px at 90px 10px, var(--accent), rgba(255, 214, 10, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideInDown 1s ease-out;
}

.hero-title {
    font-family: 'Fredoka One', 'Fredoka', sans-serif;
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.hero-title span {
    display: inline-block;
    margin: 0 2px;
    animation: bounceInTitle 0.8s ease-out both;
}

.hero-title span:nth-child(1) { animation-delay: 0s; }
.hero-title span:nth-child(2) { animation-delay: 0.1s; }
.hero-title span:nth-child(3) { animation-delay: 0.2s; }
.hero-title span:nth-child(4) { animation-delay: 0.3s; }
.hero-title span:nth-child(5) { animation-delay: 0.4s; }
.hero-title span:nth-child(6) { animation-delay: 0.5s; }
.hero-title span:nth-child(7) { animation-delay: 0.6s; }
.hero-title span:nth-child(8) { animation-delay: 0.7s; }
.hero-title span:nth-child(9) { animation-delay: 0.8s; }
.hero-title span:nth-child(10) { animation-delay: 0.9s; }

@keyframes bounceInTitle {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.5);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-title span {
    background: linear-gradient(135deg, var(--red), var(--white), var(--light-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--red);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--secondary);
    animation: fadeInUp 1s ease-out 0.5s both;
    letter-spacing: 2px;
}

.hero-image {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.8s both;
    border: 2px solid var(--secondary);
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== CAROUSEL SECTION ========== */
.carousel-section {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 46, 0.6) 100%);
    border-top: 2px solid var(--secondary);
    border-bottom: 2px solid var(--neon-pink);
    padding: 80px 20px !important;
}

.section-title {
    font-family: 'Fredoka One', 'Fredoka', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

.carousel-trending {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.carousel-item {
    flex: 1;
    min-width: 200px;
}

.carousel-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 0, 110, 0.1) 100%);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translate(-100%, -100%);
    }
    100% {
        transform: translate(100%, 100%);
    }
}

.carousel-card:hover {
    transform: translateY(-20px) scale(1.05);
    border-color: var(--neon-pink);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5), inset 0 0 30px rgba(0, 212, 255, 0.1);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(255, 0, 110, 0.2) 100%);
}

.carousel-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--red), var(--white), var(--light-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.carousel-card p {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.8);
}

/* ========== COMMUNITY SECTION ========== */
.community-section {
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    border-top: 2px solid var(--neon-pink);
    padding: 80px 20px !important;
}

.community-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--light);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    gap: 15px;
    min-height: 250px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.community-btn i,
.community-btn img {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px currentColor);
    transition: all 0.3s ease;
}

.community-btn img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Twitter Button */
.twitter-btn {
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.2) 0%, rgba(29, 161, 242, 0.05) 100%);
    border: 2px solid rgba(29, 161, 242, 0.5);
}

.twitter-btn:hover {
    border-color: #1da1f2;
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.3) 0%, rgba(29, 161, 242, 0.1) 100%);
    color: #1da1f2;
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(29, 161, 242, 0.5);
}

.twitter-btn:hover i {
    color: #1da1f2;
    transform: scale(1.2) rotate(-10deg);
}

/* Dexscreener Button */
.dexscreener-btn {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2) 0%, rgba(138, 43, 226, 0.05) 100%);
    border: 2px solid rgba(138, 43, 226, 0.5);
}

.dexscreener-btn:hover {
    border-color: #8a2be2;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3) 0%, rgba(138, 43, 226, 0.1) 100%);
    color: #8a2be2;
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.5);
}

.dexscreener-btn:hover img {
    filter: drop-shadow(0 0 15px #8a2be2);
}

/* Pump.fun Button */
.pumpfun-btn {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.2) 0%, rgba(255, 182, 193, 0.05) 100%);
    border: 2px solid rgba(255, 182, 193, 0.5);
}

.pumpfun-btn:hover {
    border-color: #ffb6c1;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.3) 0%, rgba(255, 182, 193, 0.1) 100%);
    color: #ffb6c1;
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(255, 182, 193, 0.5);
}

.pumpfun-btn:hover img {
    filter: drop-shadow(0 0 15px #ffb6c1);
}

/* PFP Generator Button */
.pfp-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.pfp-btn:hover {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0.1) 100%);
    color: #ffd700;
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.pfp-btn:hover i {
    color: #ffd700;
    transform: scale(1.2) rotate(5deg);
}

/* ========== CHART SECTION ========== */
.chart-section {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 46, 0.6) 100%);
    border-top: 2px solid var(--secondary);
    border-bottom: 2px solid var(--neon-pink);
    padding: 80px 20px !important;
}

.chart-container {
    width: 100%;
    height: 600px;
    border: 2px solid var(--secondary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.2);
    background: rgba(10, 10, 10, 0.9);
}

.chart-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    border-top: 2px solid var(--neon-pink);
    padding: 80px 20px !important;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid var(--secondary);
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item::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 ease;
    z-index: 2;
}

.gallery-item:hover::before {
    left: 100%;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    display: block;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.3);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    margin: 0;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== TEXT ANIMATIONS ========== */
.glitch {
    position: relative;
    color: var(--secondary);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    color: var(--neon-pink);
    z-index: -1;
    text-shadow: -2px 0 var(--neon-pink);
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 58%);
}

.glitch::after {
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse infinite;
    color: var(--secondary);
    z-index: -2;
    text-shadow: -2px 0 var(--secondary);
    clip-path: polygon(0 58%, 100% 45%, 100% 100%, 0 100%);
}

@keyframes glitch {
    0% {
        clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
        transform: translate(0);
    }
    20% {
        clip-path: polygon(0 60%, 100% 30%, 100% 67%, 0 100%);
        transform: translate(-2px, 2px);
    }
    40% {
        clip-path: polygon(0 1%, 100% 58%, 100% 100%, 0 40%);
        transform: translate(-2px, -2px);
    }
    60% {
        clip-path: polygon(0 70%, 100% 60%, 100% 88%, 0 5%);
        transform: translate(2px, 2px);
    }
    80% {
        clip-path: polygon(0 8%, 100% 9%, 100% 77%, 0 58%);
        transform: translate(2px, -2px);
    }
    100% {
        clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
        transform: translate(0);
    }
}

.neon-text {
    background: linear-gradient(90deg, var(--red), var(--white), var(--light-yellow), var(--red));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    text-shadow: 0 0 30px var(--red);
    font-weight: 800;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.pulse-text {
    animation: textPulse 2s ease-in-out infinite;
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent);
}

@keyframes textPulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 20px var(--accent);
    }
    50% {
        opacity: 0.6;
        text-shadow: 0 0 40px var(--accent);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes blink {
    0%, 49%, 100% {
        opacity: 1;
    }
    50%, 99% {
        opacity: 0.5;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== FOOTER ========== */
.footer-section {
    background: rgba(5, 5, 5, 0.95);
    border-top: 2px solid var(--secondary);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-section h5 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-section a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--secondary);
    border-radius: 50%;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: scale(1.2);
    box-shadow: 0 0 20px var(--secondary);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .carousel-section {
        padding: 60px 20px !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .chart-container {
        height: 500px;
    }

    .community-btn {
        padding: 30px;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 30px 15px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        letter-spacing: 2px;
    }

    .hero-title span {
        margin: 0 1px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .nav-link {
        margin: 5px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .carousel-section {
        padding: 40px 15px !important;
    }

    .carousel-card {
        min-height: 200px;
        padding: 20px 15px;
    }

    .carousel-card i {
        font-size: 2.5rem;
    }

    .community-section {
        padding: 40px 15px !important;
    }

    .community-btn {
        padding: 25px;
        min-height: 180px;
        font-size: 0.9rem;
    }

    .community-btn i,
    .community-btn img {
        font-size: 2.5rem;
    }

    .community-btn img {
        width: 50px;
        height: 50px;
    }

    .chart-section {
        padding: 40px 15px !important;
    }

    .chart-container {
        height: 400px;
    }

    .gallery-section {
        padding: 40px 15px !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .gallery-overlay h5 {
        font-size: 0.9rem;
    }

    .footer-section {
        padding: 30px 15px;
    }

    .footer-section h5 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: clamp(1.2rem, 5vw, 2rem);
        letter-spacing: 1px;
    }

    .hero-title span {
        margin: 0;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
        letter-spacing: 2px;
    }

    .carousel-section {
        padding: 30px 10px !important;
    }

    .carousel-card {
        min-height: 180px;
        padding: 15px 10px;
    }

    .carousel-card i {
        font-size: 2rem;
    }

    .carousel-card h4 {
        font-size: 1rem;
    }

    .carousel-card p {
        font-size: 0.85rem;
    }

    .community-section {
        padding: 30px 10px !important;
    }

    .community-btn {
        padding: 20px;
        min-height: 160px;
        font-size: 0.85rem;
        gap: 10px;
    }

    .community-btn i,
    .community-btn img {
        font-size: 2rem;
    }

    .community-btn img {
        width: 40px;
        height: 40px;
    }

    .chart-section {
        padding: 30px 10px !important;
    }

    .chart-container {
        height: 300px;
        border-radius: 8px;
    }

    .gallery-section {
        padding: 30px 10px !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-item {
        border-radius: 8px;
    }

    .gallery-overlay {
        padding: 15px;
    }

    .gallery-overlay h5 {
        font-size: 0.8rem;
    }

    .footer-section {
        padding: 20px 10px;
        text-align: center;
    }

    .footer-section h5 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
