/* ============================================
   BEAGLE CREW OFFICIAL WEBSITE
   Black & White Color Scheme
   ============================================ */

/* ============================================
   CSS VARIABLES - BLACK & WHITE ONLY
   ============================================ */
:root {
    /* Pure Colors */
    --color-black: #000000;
    --color-white: #ffffff;
    
    /* Grays */
    --color-dark-gray: #1a1a1a;
    --color-medium-gray: #333333;
    --color-light-gray: #cccccc;
    --color-off-white: #f5f5f5;
    --color-medium-light-gray: #999999;
    
    /* Gradients */
    --gradient-bg: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --gradient-card: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    --gradient-hover: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    --gradient-text: linear-gradient(90deg, #ffffff 0%, #cccccc 100%);
    
    /* Shadows */
    --shadow-white-glow: 0 10px 30px rgba(255, 255, 255, 0.1);
    --shadow-black: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 5px 20px rgba(255, 255, 255, 0.05);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

/* ============================================
   GLOBAL RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--gradient-bg);
    color: var(--color-light-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   CUSTOM CURSOR - DISABLED
   ============================================ */
/* Custom cursor removed per user request */

/* ============================================
   LOADING SCREEN - BLACK & WHITE
   ============================================ */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

/* Loader Brand Logo */
.loader-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: text-glow 2s ease-in-out infinite;
    z-index: 10;
}

.loader-brand-image {
    width: min(760px, 92vw);
    height: auto;
    display: block;
}

.loader-brand-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.loader-brand-mark {
    width: 88px;
    height: 88px;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.2);
}

.loader-brand-jp {
    font-family: 'Hiragino Kaku Gothic Std', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Yu Gothic', 'Noto Sans JP', sans-serif;
    font-size: 72px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--color-white);
    line-height: 1;
}

.loader-brand-en {
    font-family: 'Agency FB', 'Bank Gothic', 'Eurostile', 'Microgramma', 'Orbitron', 'Bebas Neue', var(--font-heading), sans-serif;
    font-size: 62px;
    font-weight: 800;
    letter-spacing: 7px;
    color: var(--color-white);
    line-height: 0.92;
    text-transform: uppercase;
}

@keyframes text-glow {
    0%, 100% { text-shadow: 0 0 40px rgba(255, 255, 255, 0.6); }
    50% { text-shadow: 0 0 60px rgba(255, 255, 255, 0.9); }
}

/* Visualizer Container (circles + sound bars combined) */
.visualizer-area {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Circle Visualizer - White (background layer) */
.circle-visualizer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    animation: circle-rotate 3s linear infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.circle-2 {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation-duration: 4s;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

.circle-3 {
    width: 240px;
    height: 240px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    animation-duration: 5s;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

@keyframes circle-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.05); }
    100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

/* Sound Wave Visualizer - White (center foreground) */
.sound-bars {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: flex-end;
    height: 100px;
    z-index: 5;
}

.bar {
    width: 8px;
    background: var(--color-white);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.bar:nth-child(1) { height: 30px; animation: bar-bounce 0.8s ease-in-out infinite; }
.bar:nth-child(2) { height: 50px; animation: bar-bounce 0.8s ease-in-out 0.1s infinite; }
.bar:nth-child(3) { height: 70px; animation: bar-bounce 0.8s ease-in-out 0.2s infinite; }
.bar:nth-child(4) { height: 90px; animation: bar-bounce 0.8s ease-in-out 0.3s infinite; }
.bar:nth-child(5) { height: 60px; animation: bar-bounce 0.8s ease-in-out 0.4s infinite; }
.bar:nth-child(6) { height: 40px; animation: bar-bounce 0.8s ease-in-out 0.5s infinite; }
.bar:nth-child(7) { height: 25px; animation: bar-bounce 0.8s ease-in-out 0.6s infinite; }

@keyframes bar-bounce {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.3); }
}

/* Particles - White */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-white);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 6s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes particle-float {
    0% { transform: translateY(100px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100px); opacity: 0; }
}

/* Neon Lines - Gray */
.neon-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-light-gray), transparent);
    animation: line-move 4s linear infinite;
}

.line:nth-child(1) { top: 20%; width: 200px; animation-delay: 0s; }
.line:nth-child(2) { top: 40%; width: 300px; animation-delay: 1s; }
.line:nth-child(3) { top: 60%; width: 250px; animation-delay: 2s; }
.line:nth-child(4) { top: 80%; width: 180px; animation-delay: 3s; }

@keyframes line-move {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Loading Text (Bottom) */
.loading-text {
    position: relative;
    font-size: 14px;
    color: var(--color-light-gray);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: pulse 1.5s ease-in-out infinite;
    margin-top: 20px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: var(--color-black);
    box-shadow: var(--shadow-white-glow);
    padding: 15px 50px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.logo img {
    width: 200px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-light-gray);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
#scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-white);
    color: var(--color-black);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-white-glow);
}

#scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-top:hover {
    background: var(--color-off-white);
    transform: translateY(-5px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--color-black);
    color: var(--color-light-gray);
    padding: 60px 50px 30px;
    margin-top: 100px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--color-white);
    font-size: 20px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

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

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

.footer-section a {
    color: var(--color-light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-white);
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-medium-gray);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-white);
    color: var(--color-black);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-medium-gray);
    font-size: 14px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--color-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .loader-container {
        max-width: 90%;
        height: 400px;
        gap: 50px;
    }

    .loader-brand-main {
        gap: 10px;
    }

    .loader-brand-image {
        width: min(520px, 90vw);
    }

    .loader-brand-mark {
        width: 64px;
        height: 64px;
    }

    .loader-brand-jp {
        font-size: 42px;
    }

    .loader-brand-en {
        font-size: 34px;
        letter-spacing: 3px;
    }

    .visualizer-area {
        width: 200px;
        height: 200px;
    }

    .sound-bars {
        height: 70px;
        gap: 6px;
    }

    .bar {
        width: 6px;
    }

    .bar:nth-child(1) { height: 20px; }
    .bar:nth-child(2) { height: 35px; }
    .bar:nth-child(3) { height: 50px; }
    .bar:nth-child(4) { height: 65px; }
    .bar:nth-child(5) { height: 45px; }
    .bar:nth-child(6) { height: 30px; }
    .bar:nth-child(7) { height: 18px; }

    .circle-1 {
        width: 80px;
        height: 80px;
    }

    .circle-2 {
        width: 120px;
        height: 120px;
    }

    .circle-3 {
        width: 160px;
        height: 160px;
    }

    .loading-text {
        font-size: 12px;
        letter-spacing: 2px;
    }

    footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}