/* Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Enhanced Background */
.bg-hero-pattern {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1605152276897-4f618f831968');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Smooth Animations */
.gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    transition: transform 0.5s ease;
}

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

/* Optimized Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(8px);
        transition: right 0.3s ease;
    }

    .mobile-menu.active {
        right: 0;
    }
}

/* Base animations */
.fade-in {
    animation: fadeIn 0.6s ease;
}

.fade-up {
    animation: fadeUp 0.6s ease;
}

.fade-down {
    animation: fadeDown 0.6s ease;
}

.scale-up {
    animation: scaleUp 0.4s ease;
}

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

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

@keyframes fadeDown {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from { 
        opacity: 0;
        transform: scale(0.95);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Card animations */
.card-hover {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(145deg, #1f2937, #111827);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Button animations */
.button-hover {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(38, 96, 220, 0.2);
}

/* Navigation animations */
.nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Title Effects */
.title-glow {
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Card Effects */
.card-glow {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

/* Button Effects */
.button-glow {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* Section Transitions */
.section-transition {
    transition: all 0.5s ease;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Background Effects */
.bg-glow {
    position: relative;
}

.bg-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        transition: right 0.3s ease;
    }

    .mobile-menu.active {
        right: 0;
    }
}

/* Base animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}
.fade-up {
    animation: fadeUp 0.5s ease-out;
}
.fade-down {
    animation: fadeDown 0.5s ease-out;
}
.scale-up {
    animation: scaleUp 0.3s ease-out;
}

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeDown {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes scaleUp {
    from { 
        opacity: 0;
        transform: scale(0.95);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Card animations */
.card-hover {
    transition: all 0.2s ease-in-out;
}
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Modal animations */
.modal-enter {
    animation: modalEnter 0.3s ease-out;
}
.modal-leave {
    animation: modalLeave 0.3s ease-in;
}
@keyframes modalEnter {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@keyframes modalLeave {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
}

/* Hero section animations */
.hero-title {
    animation: fadeDown 0.8s ease-out;
}
.hero-subtitle {
    animation: fadeUp 0.8s ease-out 0.2s;
}
.hero-buttons {
    animation: fadeUp 0.8s ease-out 0.4s;
}

/* Section animations */
.section-title {
    animation: fadeIn 0.8s ease-out;
}
.section-content {
    animation: fadeUp 0.8s ease-out 0.2s;
}

/* Feature card animations */
.feature-card {
    transition: all 0.3s ease-in-out;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Button animations */
.button-hover {
    transition: all 0.2s ease-in-out;
}
.button-hover:hover {
    transform: scale(1.05);
}

/* Navigation animations */
.nav-link {
    transition: color 0.2s ease-in-out;
}
.nav-link:hover {
    color: #3b82f6;
}

/* Mobile menu animations */
.mobile-menu-enter {
    animation: slideDown 0.3s ease-out;
}
.mobile-menu-leave {
    animation: slideUp 0.3s ease-in;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
} 
/* =========================================================
   PixelPH Immersive Theme Override
   Palette: vibrant mint-teal + cool cyan on deep midnight
   No layout/content changes — visual theme only.
   ========================================================= */
:root {
    --pixelph-primary: #76abae;
    --pixelph-primary-bright: #8ff4ee;
    --pixelph-primary-hot: #64ddd8;
    --pixelph-primary-deep: #377f85;
    --pixelph-cyan: #71d7ff;
    --pixelph-violet: #8b78ff;
    --pixelph-ink: #05090d;
    --pixelph-surface: #0a1117;
    --pixelph-surface-2: #101b22;
    --pixelph-line: rgba(143, 244, 238, 0.16);
    --pixelph-glow: rgba(118, 171, 174, 0.42);
}

html,
body {
    background:
        radial-gradient(circle at 14% 8%, rgba(100, 221, 216, 0.11), transparent 28%),
        radial-gradient(circle at 88% 20%, rgba(139, 120, 255, 0.08), transparent 26%),
        linear-gradient(180deg, #05090d 0%, #081116 46%, #05090d 100%) !important;
    color: #eefdfc;
}

/* Navigation gets a richer glass finish without changing its layout. */
header {
    background: linear-gradient(180deg, rgba(4, 9, 13, 0.94), rgba(5, 13, 17, 0.78)) !important;
    border-bottom: 1px solid rgba(143, 244, 238, 0.12);
    box-shadow: 0 12px 42px rgba(0, 0, 0, 0.34), 0 1px 0 rgba(118, 171, 174, 0.06);
}

/* Hero: deeper cinematic treatment with the PixelPH mint glow retained. */
.bg-hero-pattern {
    background-image:
        radial-gradient(circle at 52% 42%, rgba(100, 221, 216, 0.20) 0%, rgba(55, 127, 133, 0.07) 28%, transparent 54%),
        linear-gradient(110deg, rgba(3, 8, 12, 0.88) 0%, rgba(4, 14, 17, 0.72) 48%, rgba(6, 7, 13, 0.86) 100%),
        url('https://images.unsplash.com/photo-1605152276897-4f618f831968');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#home::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 58%, rgba(5, 9, 13, 0.72) 100%),
        radial-gradient(circle at 50% 52%, rgba(143, 244, 238, 0.08), transparent 32%);
    z-index: 1;
}

#home > .container {
    position: relative;
    z-index: 2;
}

/* Replace stock Tailwind blues with PixelPH mint-teal. */
.text-blue-400,
.text-blue-500,
.text-blue-600 {
    color: var(--pixelph-primary-bright) !important;
}

.bg-blue-600 {
    background: linear-gradient(135deg, #64ddd8 0%, #4dbfc1 55%, #3d9da3 100%) !important;
    border: 1px solid rgba(190, 255, 251, 0.30);
}

.bg-blue-700,
.hover\:bg-blue-700:hover {
    background: linear-gradient(135deg, #7af1eb 0%, #57cfd0 52%, #438f97 100%) !important;
}

.bg-blue-800 {
    background-color: #275f64 !important;
}

/* Richer dark surfaces instead of flat/dead grays. */
.bg-gray-900 {
    background:
        radial-gradient(circle at 15% 10%, rgba(118, 171, 174, 0.07), transparent 28%),
        linear-gradient(145deg, #071017 0%, #0a151b 55%, #071015 100%) !important;
}

.bg-gray-800 {
    background:
        linear-gradient(145deg, rgba(18, 32, 40, 0.98), rgba(10, 20, 27, 0.98)) !important;
}

.bg-gray-700,
.hover\:bg-gray-700:hover {
    background:
        linear-gradient(145deg, rgba(28, 47, 57, 0.98), rgba(15, 31, 39, 0.98)) !important;
}

.bg-black,
.bg-black\/80,
.bg-black\/95 {
    background-color: rgba(3, 8, 11, 0.94) !important;
}

.text-gray-300 { color: #d8e8e8 !important; }
.text-gray-400 { color: #a8c0c1 !important; }
.text-gray-500 { color: #789294 !important; }

/* PixelPH gradients and glow are deliberately brighter than the old blue. */
.text-gradient {
    background: linear-gradient(105deg, #d9fffc 0%, #8ff4ee 32%, #64ddd8 60%, #71d7ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    filter: drop-shadow(0 0 12px rgba(100, 221, 216, 0.16));
}

.title-glow {
    text-shadow:
        0 0 12px rgba(143, 244, 238, 0.25),
        0 0 34px rgba(118, 171, 174, 0.16) !important;
}

.card-hover {
    position: relative;
    background:
        linear-gradient(145deg, rgba(17, 32, 39, 0.96), rgba(8, 18, 24, 0.98)) !important;
    border: 1px solid rgba(143, 244, 238, 0.13);
    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.card-hover::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at 12% 0%, rgba(143, 244, 238, 0.09), transparent 38%);
    opacity: 0.85;
}

.card-hover:hover {
    transform: translateY(-6px);
    border-color: rgba(143, 244, 238, 0.33);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.38),
        0 0 28px rgba(100, 221, 216, 0.10) !important;
}

.card-glow {
    box-shadow:
        0 12px 34px rgba(0, 0, 0, 0.28),
        0 0 22px rgba(118, 171, 174, 0.08) !important;
}

.button-hover {
    border: 1px solid rgba(143, 244, 238, 0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.button-hover:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow:
        0 11px 30px rgba(0, 0, 0, 0.30),
        0 0 24px rgba(100, 221, 216, 0.18) !important;
}

.button-glow {
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.24),
        0 0 18px rgba(118, 171, 174, 0.18) !important;
}

.nav-link::after {
    height: 2px;
    background: linear-gradient(90deg, #76abae, #8ff4ee, #71d7ff) !important;
    box-shadow: 0 0 12px rgba(143, 244, 238, 0.48);
}

.nav-link:hover {
    color: #cffffb !important;
    text-shadow: 0 0 14px rgba(143, 244, 238, 0.22);
}

.bg-glow::before {
    background:
        radial-gradient(circle at 50% 18%, rgba(100, 221, 216, 0.13) 0%, transparent 55%),
        radial-gradient(circle at 90% 85%, rgba(139, 120, 255, 0.05) 0%, transparent 40%) !important;
}

/* Keep Discord/Instagram recognizable but harmonize their intensity. */
a.bg-\[\#5865F2\] {
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.18), 0 0 0 1px rgba(255,255,255,.04);
}

a.bg-gradient-to-r {
    box-shadow: 0 10px 30px rgba(131, 58, 180, 0.13), 0 0 0 1px rgba(255,255,255,.04);
}

/* Scrollbar */
::-webkit-scrollbar-track { background: #071015 !important; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8ff4ee, #4b9fa4) !important;
    box-shadow: 0 0 10px rgba(100, 221, 216, 0.18);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #b4fff9, #64ddd8) !important;
}

/* Subtle luminous dividers between large sections. */
section:not(#home) {
    position: relative;
    border-top: 1px solid rgba(143, 244, 238, 0.055);
}

footer {
    border-top: 1px solid rgba(143, 244, 238, 0.10);
    box-shadow: inset 0 18px 40px rgba(100, 221, 216, 0.025);
}

::selection {
    background: rgba(100, 221, 216, 0.34);
    color: #ffffff;
}

@media (max-width: 768px) {
    .mobile-menu {
        background:
            radial-gradient(circle at 85% 8%, rgba(100, 221, 216, 0.12), transparent 28%),
            rgba(4, 10, 14, 0.98) !important;
    }

    .bg-hero-pattern {
        background-attachment: scroll;
    }
}
