/* ========================================================================== 1. VARIABLES and FONTS ========================================================================== */
 :root {
     --bg-dark: #050505;
     --bg-panel: #111111;
     --primary-red: #8a0303;
     --primary-red-hover: #b30000;
     --text-main: #e0e0e0;
     --text-muted: #aaaaaa;
     --accent-gold: #c5a059;
     --font-display: 'Samurai', cursive;
     --font-title: 'Lineage', serif;
     --font-body: 'Montserrat', sans-serif;
}
 @font-face {
     font-family: 'Samurai';
     src: url('../fonts/samurai.html') format('truetype');
     font-weight: normal;
     font-style: normal;
     font-display: swap;
}
 @font-face {
     font-family: 'Lineage';
     src: url('../fonts/lineage.ttf') format('truetype');
     font-weight: normal;
     font-style: normal;
     font-display: swap;
}
/* ========================================================================== 2. RESET, BASICS & CURSORS ========================================================================== */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
}
 body {
     background-color: var(--bg-dark);
     color: var(--text-main);
     font-family: var(--font-body);
     overflow-x: hidden;
     cursor: url('../cursors/normal.html'), auto;
}
 a {
     text-decoration: none;
     color: inherit;
     transition: 0.3s;
}
 ul {
     list-style: none;
}
 .display-text {
     font-family: var(--font-display);
}
 .title-text {
     font-family: var(--font-title);
     letter-spacing: 1px;
}
 a, button, .btn-cta, .btn-hero-custom, .logo-heropath, .skip-btn, .nav-links a, .game-item, .social-link, .nav-dot, .modal-close-btn, .footer-links a, .skill-item, .skill-item img, .skill-name-lineage {
     cursor: url('../cursors/click.html'), pointer;
}
 .hero-logo-sow, .slogan {
     cursor: url('../cursors/normal.html'), default;
}
/* ========================================================================== SCROLL BAR STYLES (GLOBAL SCROLL BAR) ========================================================================== */
 html {
     scrollbar-width: thin;
     scrollbar-color: var(--primary-red) rgba(0, 0, 0, 0.3);
}
 ::-webkit-scrollbar {
     width: 10px;
}
 ::-webkit-scrollbar-track {
     background: rgba(0, 0, 0, 0.3);
     border-left: 1px solid rgba(255, 255, 255, 0.1);
}
 ::-webkit-scrollbar-thumb {
     background-color: var(--primary-red);
     border-radius: 10px;
     background-clip: padding-box;
     border: 2px solid transparent;
}
 ::-webkit-scrollbar-thumb:hover {
     background-color: #ff4d4d;
}
/* ========================================================================== 3. UI COMPONENTS: BUTTONS ========================================================================== */
 .btn-cta {
     background: linear-gradient(to bottom, #8a0303 0%, #5c0000 100%);
     border: 1px solid #6b5a3e;
     border-radius: 2px;
     color: #e0e0e0;
     font-family: var(--font-title);
     font-size: 0.9rem;
     text-transform: uppercase;
     text-decoration: none;
     letter-spacing: 1px;
     padding: 12px 25px;
     display: inline-block;
     transition: all 0.3s ease;
     box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}
 .btn-cta:hover {
     filter: brightness(1.3) drop-shadow(0 0 8px rgba(138, 3, 3, 0.6));
     transform: scale(1.05);
     border-color: var(--accent-gold);
     color: #fff;
}
 .btn-hero-custom {
     width: 280px;
     height: 80px;
     background-image: url('../img/button.29f40604.webp');
     background-size: contain;
     background-repeat: no-repeat;
     background-position: center;
     display: flex;
     justify-content: center;
     align-items: center;
     text-decoration: none;
     transition: filter 0.3s ease, transform 0.3s ease;
     margin: 20px auto 0 auto;
}
 .btn-hero-custom span {
     font-family: var(--font-title);
     font-size: 1.5rem;
     color: #e0e0e0;
     text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
     text-transform: uppercase;
     letter-spacing: 1px;
     margin-top: -2px;
}
 .btn-hero-custom:hover {
     filter: brightness(1.2) drop-shadow(0 0 10px rgba(138, 3, 3, 0.5));
     transform: scale(1.1);
}
 .skip-btn {
     position: absolute;
     bottom: 30px;
     right: 30px;
     background: rgba(0, 0, 0, 0.5);
     border: 1px solid rgba(255, 255, 255, 0.3);
     color: #fff;
     padding: 10px 20px;
     font-family: var(--font-body);
     text-transform: uppercase;
     font-size: 0.8rem;
     z-index: 10000;
     transition: 0.3s;
}
 .skip-btn:hover {
     background: var(--primary-red);
     border-color: var(--primary-red);
}
/* ========================================================================== 4. LAYOUT: HEADER (NAVBAR) ========================================================================== */
 .main-header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 1000;
     background: rgba(5, 5, 5, 0.85);
     backdrop-filter: blur(10px);
     border-bottom: 1px solid rgba(255, 255, 255, 0.05);
     padding: 15px 0;
     transition: all 0.4s ease;
}
 .nav-container {
     max-width: 1400px;
     margin: 0 auto;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 0 20px;
}
 .brand-wrapper {
     display: flex;
     align-items: center;
     gap: 15px;
}
 .logo-heropath {
     height: 22px;
     width: auto;
     transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
 .logo-heropath:hover {
     transform: scale(1.1);
     filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
}
 .nav-links {
     display: flex;
     gap: 40px;
}
 .nav-links a {
     font-family: var(--font-title);
     font-size: 0.95rem;
     text-transform: uppercase;
     color: var(--text-main);
     position: relative;
     padding: 5px 0;
     transition: color 0.3s ease;
}
 .nav-highlight {
     font-weight: bold;
     color: inherit;
     display: inline-block;
     transform-origin: bottom center;
     transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
 .nav-links a::after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     bottom: 0;
     left: 0;
     background-color: var(--primary-red);
     transition: width 0.3s ease;
     box-shadow: 0 0 8px var(--primary-red);
}
 .nav-links a:hover::after {
     width: 100%;
}
 .nav-links a:hover {
     color: #fff;
     text-shadow: 0 0 5px rgba(255,255,255,0.3);
}
 .nav-links .nav-partner:hover .nav-highlight {
     color: #93FF18 !important;
     text-shadow: 0 0 8px rgba(147, 255, 24, 0.6);
     transform: scale(1.01);
}
 header .btn-cta {
     margin-left: 15px;
}
 .dropdown-trigger {
     position: relative;
     padding-bottom: 15px;
     margin-bottom: -15px;
     display: flex;
     align-items: center;
}
 .games-dropdown {
     position: absolute;
     top: 100%;
     left: 50%;
     width: 260px;
     transform: translateX(-50%) translateY(15px);
     background-color: rgba(10, 10, 10, 0.95);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-top: 2px solid var(--primary-red);
     border-radius: 4px;
     padding: 10px;
     box-shadow: 0 10px 30px rgba(0,0,0,0.8);
     opacity: 0;
     visibility: hidden;
     transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
     z-index: 2000;
}
 .dropdown-trigger:hover .games-dropdown {
     opacity: 1;
     visibility: visible;
     transform: translateX(-50%) translateY(0);
}
 .dropdown-header {
     font-family: var(--font-body);
     font-size: 0.7rem;
     color: var(--text-muted);
     text-transform: uppercase;
     letter-spacing: 1px;
     margin-bottom: 10px;
     padding-bottom: 5px;
     border-bottom: 1px solid rgba(255,255,255,0.05);
}
 .game-item {
     display: flex;
     align-items: center;
     padding: 10px;
     border-radius: 4px;
     transition: background 0.2s;
     text-decoration: none;
     margin-bottom: 5px;
}
 .game-item:hover {
     background-color: rgba(255, 255, 255, 0.05);
}
 .game-icon {
     width: 32px;
     height: 32px;
     border-radius: 4px;
     margin-right: 12px;
     object-fit: cover;
}
 .game-info {
     display: flex;
     flex-direction: column;
}
 .game-title {
     font-family: var(--font-title);
     font-size: 0.9rem;
     color: #fff;
     line-height: 1.2;
}
 .game-desc {
     font-family: var(--font-body);
     font-size: 0.7rem;
     color: var(--text-muted);
}
 .coming-soon {
     opacity: 0.4;
     background: rgba(255, 255, 255, 0.02);
}
 .coming-soon .game-icon {
     transform: scale(1.2);
}
/* ========================================================================== 5. LAYOUT: INTRO VIDEO ========================================================================== */
 #intro-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: #000;
     z-index: 9999;
     display: flex;
     justify-content: center;
     align-items: center;
     transition: opacity 1s ease, visibility 1s ease;
}
 #intro-video {
     width: 100%;
     height: 100%;
     object-fit: cover;
}
 .fade-out {
     opacity: 0;
     visibility: hidden;
     pointer-events: none;
}
/* ========================================================================== 6. LAYOUT: HERO SECTION (HOME) ========================================================================== */
 .hero-section {
     height: 100vh;
     width: 100%;
     display: flex;
     justify-content: center;
     align-items: center;
     text-align: center;
     background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
     position: relative;
}
 .video-bg {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 0;
     opacity: 0.9;
}
 .hero-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to bottom, rgba(0,0,0,0.3), #050505);
     z-index: 1;
}
 .hero-content {
     position: relative;
     z-index: 2;
     padding: 20px;
     margin-top: 80px;
}
 .hero-logo-sow {
     max-width: 320px;
     width: 90%;
     height: auto;
     display: block;
     margin: 0 auto 10px auto;
     filter: drop-shadow(0 0 50px rgba(0,0,0,0.8));
     transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
 .hero-logo-sow:hover {
     transform: scale(1.05) translateY(-5px);
     filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.8));
}
 .slogan {
     max-width: 790px;
     width: 100%;
     height: auto;
     display: block;
     margin: 0 auto 15px auto;
     filter: drop-shadow(0 0 15px rgba(0,0,0,0.8));
     transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
 .slogan:hover {
     transform: scale(1.03);
     filter: drop-shadow(0 0 20px rgba(138, 3, 3, 0.4));
}
 .hero-desc {
     color: #bfbfbf;
     font-weight: 600;
     font-size: 1rem;
     line-height: 1.5;
     text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
     max-width: 650px;
     margin: 0 auto 35px auto;
     padding: 0 20px;
}
/* ========================================================================== 7. LAYOUT: SIDEBAR SOCIAL ========================================================================== */
 .social-sidebar {
     position: fixed;
     right: 40px;
     top: 50%;
     transform: translateY(-50%);
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 35px;
     z-index: 100;
     opacity: 0;
     animation: fadeInRight 1s ease 0.5s forwards;
}
 @keyframes fadeInRight {
     from {
         opacity: 0;
         transform: translate(20px, -50%);
    }
     to {
         opacity: 1;
         transform: translate(0, -50%);
    }
}
 .social-link {
     display: flex;
     justify-content: center;
     align-items: center;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
     opacity: 0.6;
}
 .social-icon {
     width: 32px;
     height: 32px;
     object-fit: contain;
     filter: invert(1) brightness(0.8);
     transition: filter 0.3s ease;
}
 .social-link:hover {
     opacity: 1;
     transform: scale(1.2);
}
 .social-link:hover .social-icon {
     filter: invert(13%) sepia(60%) saturate(5000%) hue-rotate(355deg) brightness(90%) contrast(115%) drop-shadow(0 0 8px rgba(138, 3, 3, 0.6));
     transform: scale(1.2);
}
 .social-line-top {
     width: 1px;
     height: 150px;
     background: linear-gradient(to top, rgba(255, 255, 255, 0.5), transparent);
     margin-bottom: 10px;
}
 .social-line-bottom {
     width: 1px;
     height: 150px;
     background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
     margin-top: 10px;
}
/* ========================================================================== 8. LAYOUT: SIDE NAVIGATION (DIAMONDS) & SCROLL ========================================================================== */
 html {
     scroll-behavior: smooth;
     scroll-snap-type: y mandatory;
     overflow-y: smooth;
}
 .scroll-container {
     height: auto;
     overflow: visible;
}
 .snap-section {
     height: 100vh;
     width: 100%;
     scroll-snap-align: start;
     position: relative;
}
 .samurai-side-nav {
     position: fixed;
     left: 40px;
     top: 50%;
     transform: translateY(-50%);
     z-index: 500;
     display: flex;
     flex-direction: column;
     gap: 25px;
}
 .nav-dot {
     display: flex;
     align-items: center;
     text-decoration: none;
     position: relative;
     height: 20px;
}
 .dot-shape {
     width: 12px;
     height: 12px;
     background-color: transparent;
     border: 2px solid rgba(255, 255, 255, 0.4);
     transform: rotate(45deg);
     transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
     box-shadow: 0 0 5px rgba(0,0,0,0.5);
     flex-shrink: 0;
}
 .nav-label {
     font-family: var(--font-body);
     font-weight: 700;
     font-size: 0.75rem;
     letter-spacing: 2px;
     color: #fff;
     text-transform: uppercase;
     margin-left: 15px;
     opacity: 0;
     transform: translateX(-10px);
     transition: all 0.4s ease;
     pointer-events: none;
     white-space: nowrap;
     text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
 .nav-dot:hover .nav-label {
     opacity: 1;
     transform: translateX(0);
}
 .nav-dot:hover .dot-shape {
     border-color: #fff;
     transform: rotate(45deg) scale(1.3);
}
 .nav-dot.active .dot-shape {
     background-color: var(--primary-red);
     border-color: var(--primary-red);
     box-shadow: 0 0 15px rgba(138, 3, 3, 0.9);
     transform: rotate(225deg) scale(1.5);
}
 .samurai-side-nav::before {
     content: '';
     position: absolute;
     left: 6px;
     top: 0;
     bottom: 0;
     width: 1px;
     background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
     z-index: -1;
}
/* ========================================================================== 9. LAYOUT: FOOTER ========================================================================== */
 .main-footer {
     background-color: #000;
     border-top: 1px solid rgba(255, 255, 255, 0.05);
     padding: 40px 0;
     text-align: center;
     position: relative;
     z-index: 10;
}
 .footer-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
}
 .footer-links {
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     gap: 30px;
     margin-bottom: 40px;
}
 .footer-links a {
     font-family: var(--font-title);
     font-size: 0.95rem;
     color: var(--text-muted);
     text-transform: uppercase;
     letter-spacing: 1px;
     position: relative;
     transition: color 0.3s;
}
 .footer-links a:hover {
     color: var(--accent-gold);
     text-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}
 .copyright {
     font-family: var(--font-body);
     font-size: 0.9rem;
     color: #888;
     line-height: 1.6;
}
 .legal-text {
     font-size: 0.8rem;
     color: #555;
     display: block;
     margin-top: 10px;
}
 .heropath-footer-lockup {
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 10px;
     margin-bottom: 5px;
     opacity: 0.9;
}
 .hp-icon {
     height: 28px;
     width: auto;
}
 .hp-logo {
     height: 32px;
     width: auto;
}
 .heropath-footer-lockup:hover {
     opacity: 1;
     filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}
/* ========================================================================== 10. LEGAL MODALS ========================================================================== */
 .legal-modal-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.85);
     backdrop-filter: blur(5px);
     z-index: 10000;
     display: none;
     justify-content: center;
     align-items: center;
     opacity: 0;
     transition: opacity 0.3s ease;
}
 .legal-modal-overlay.active {
     display: flex;
     opacity: 1;
}
 .legal-modal-content {
     background: #111;
     width: 90%;
     max-width: 600px;
     max-height: 85vh;
     border: 1px solid #444;
     border-top: 3px solid var(--primary-red);
     box-shadow: 0 20px 50px rgba(0,0,0,0.9);
     padding: 30px;
     position: relative;
     border-radius: 4px;
     color: #ccc;
     font-family: var(--font-body);
}
 .legal-modal-content h2 {
     font-family: var(--font-title);
     color: var(--accent-gold);
     margin-bottom: 20px;
     font-size: 1.5rem;
     border-bottom: 1px solid rgba(255,255,255,0.1);
     padding-bottom: 10px;
}
 .legal-text-scroll {
     max-height: 60vh;
     overflow-y: auto;
     padding-right: 10px;
     font-size: 0.9rem;
     line-height: 1.6;
}
 .legal-text-scroll p {
     margin-bottom: 15px;
}
 .legal-text-scroll ul {
     list-style: disc;
     margin-left: 20px;
     margin-bottom: 15px;
}
 .legal-text-scroll strong {
     color: #fff;
}
 .modal-close-btn {
     position: absolute;
     top: 15px;
     right: 20px;
     background: none;
     border: none;
     color: #666;
     font-size: 2rem;
     cursor: pointer;
     line-height: 1;
     transition: 0.2s;
}
 .modal-close-btn:hover {
     color: var(--primary-red);
}
 .legal-text-scroll::-webkit-scrollbar {
     width: 6px;
}
 .legal-text-scroll::-webkit-scrollbar-track {
     background: #0a0a0a;
}
 .legal-text-scroll::-webkit-scrollbar-thumb {
     background: #333;
     border-radius: 3px;
}
/* ========================================================================== 11. MEDIA QUERIES & MOBILE MENU ========================================================================== */
 .mobile-menu-toggle {
     display: none;
     flex-direction: column;
     justify-content: space-between;
     width: 30px;
     height: 21px;
     background: transparent;
     border: none;
     cursor: pointer;
     z-index: 2000;
}
 .mobile-menu-toggle span {
     width: 100%;
     height: 3px;
     background-color: #fff;
     border-radius: 3px;
     transition: all 0.3s ease;
}
 .mobile-cta-container {
     display: none;
}
 @media (max-width: 992px) {
     .nav-container {
         padding: 0 20px;
         height: 70px;
    }
     .mobile-menu-toggle {
         display: flex;
    }
     .mobile-menu-toggle.active span:nth-child(1) {
         transform: rotate(45deg) translate(5px, 6px);
         background-color: var(--primary-red);
    }
     .mobile-menu-toggle.active span:nth-child(2) {
         opacity: 0;
    }
     .mobile-menu-toggle.active span:nth-child(3) {
         transform: rotate(-45deg) translate(5px, -6px);
         background-color: var(--primary-red);
    }
     .desktop-cta {
         display: none;
    }
     .nav-wrapper {
         position: fixed;
         top: 0;
         right: -100%;
         width: 100%;
         height: 100vh;
         background-color: rgba(5, 5, 5, 0.98);
         backdrop-filter: blur(10px);
         display: flex;
         flex-direction: column;
         justify-content: center;
         align-items: center;
         transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
         z-index: 1500;
    }
     .nav-wrapper.active {
         right: 0;
    }
     .nav-links {
         flex-direction: column;
         gap: 30px;
         text-align: center;
         margin-bottom: 40px;
    }
     .nav-links a {
         font-size: 1.5rem;
         font-weight: bold;
    }
     .mobile-cta-container {
         display: block;
    }
     .mobile-cta-container .btn-cta {
         transform: scale(1.2);
    }
     .social-sidebar, .samurai-side-nav {
         display: none;
    }
     .hero-title {
         font-size: 3rem;
    }
     .hero-desc {
         font-size: 0.9rem;
         padding: 0 20px;
    }
     .scroll-container {
         height: auto;
         scroll-snap-type: none;
         overflow-y: auto;
    }
     .snap-section {
         height: auto;
         min-height: 100vh;
    }
}
 body.no-scroll {
     overflow: hidden;
}