:root { --header-offset: 120px; /* Desktop: total height of header + button area */ --marquee-height: 40px; /* Estimated marquee height */ --primary-color: #0A192F; --secondary-color: #FFD700; --neon-primary: var(--secondary-color); /* Gold */ --neon-secondary: #FF69B4; /* Pink */ --neon-accent: #00FFFF; /* Cyan */ --neon-bg-dark: #0a0a0a; --neon-bg-darker: #1a1a2e; --neon-bg-darkest: #16213e; } @media (max-width: 768px) { :root { --header-offset: 200px; /* Mobile: total height of marquee/header/button area */ --marquee-height: 30px; } } /* Base styles for neon effects */ @keyframes rainbow-border { 0% { border-color: #ff0000; box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000; } 16.6% { border-color: #ff8000; box-shadow: 0 0 10px #ff8000, 0 0 20px #ff8000; } 33.3% { border-color: #ffff00; box-shadow: 0 0 10px #ffff00, 0 0 20px #ffff00; } 50% { border-color: #00ff00; box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00; } 66.6% { border-color: #0000ff; box-shadow: 0 0 10px #0000ff, 0 0 20px #0000ff; } 83.3% { border-color: #8000ff; box-shadow: 0 0 10px #8000ff, 0 0 20px #8000ff; } 100% { border-color: #ff0000; box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000; } } @keyframes theme-colors { 0%, 100% { border-color: var(--neon-primary); box-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary); } 33% { border-color: var(--neon-secondary); box-shadow: 0 0 10px var(--neon-secondary), 0 0 20px var(--neon-secondary); } 66% { border-color: var(--neon-accent); box-shadow: 0 0 10px var(--neon-accent), 0 0 20px var(--neon-accent); } } @keyframes text-glow-flow { 0% { text-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary), 0 0 15px var(--neon-primary); color: #ffffff; } 50% { text-shadow: 0 0 5px var(--neon-secondary), 0 0 10px var(--neon-secondary), 0 0 15px var(--neon-secondary); color: #ffffff; } 100% { text-shadow: 0 0 5px var(--neon-accent), 0 0 10px var(--neon-accent), 0 0 15px var(--neon-accent); color: #ffffff; } } /* Marquee Section Styles */ .marquee-section { position: fixed; top: 0; left: 0; width: 100%; background: linear-gradient(135deg, var(--neon-bg-dark), var(--neon-bg-darker), var(--neon-bg-darkest)); color: #ffffff; overflow: hidden; border-bottom: 2px solid; animation: theme-colors 4s ease-in-out infinite; box-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary), 0 0 30px var(--neon-primary), inset 0 0 20px rgba(255, 215, 0, 0.1); z-index: 1001; line-height: 1; /* Ensure minimal height */ height: var(--marquee-height); display: flex; align-items: center; padding: 0; } .marquee-container { width: 100%; max-width: 100%; margin: 0 auto; overflow: hidden; display: flex; align-items: center; gap: 15px; padding: 0 20px; } .marquee-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; z-index: 2; position: relative; } .marquee-icon-emoji { font-size: 24px; display: inline-block; animation: marquee-pulse 2s ease-in-out infinite, text-glow-flow 3s ease-in-out infinite alternate; text-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary), 0 0 15px var(--neon-primary); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); } @keyframes marquee-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0.9; } } .marquee-wrapper { flex: 1; overflow: hidden; position: relative; } .marquee-content { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee-scroll 30s linear infinite; gap: 30px; } .marquee-text { font-size: 16px; font-weight: 600; color: #ffffff; text-decoration: none; text-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary), 0 0 15px var(--neon-primary); line-height: 1.5; display: inline-block; vertical-align: middle; animation: text-glow-flow 3s ease-in-out infinite alternate; cursor: pointer; transition: all 0.3s ease; } .marquee-text:hover { text-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary), 0 0 30px var(--neon-primary), 0 0 40px var(--neon-primary); transform: scale(1.05); color: #ffffff; } .marquee-separator { font-size: 16px; color: rgba(255, 255, 255, 0.6); margin: 0 15px; text-shadow: 0 0 3px var(--neon-primary), 0 0 6px var(--neon-primary); } @keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } /* Site Header Styles */ .site-header { position: fixed; top: var(--marquee-height); /* Position below marquee */ left: 0; width: 100%; z-index: 1000; background: var(--primary-color); /* Fallback dark background */ min-height: auto; /* Allow height to adjust */ box-sizing: border-box; } /* Header Top Area (Logo + Desktop Buttons + Hamburger) */ .header-top { background: linear-gradient(135deg, var(--neon-bg-dark), var(--neon-bg-darker), var(--neon-bg-darkest)); border-bottom: 2px solid; animation: theme-colors 4s ease-in-out infinite; /* Dynamic border color */ box-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary), inset 0 0 10px rgba(255, 215, 0, 0.1); padding: 5px 0; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; } /* Logo Styles (No neon effects) */ .logo { color: #ffffff; /* White for clear contrast */ font-size: 28px; font-weight: bold; text-decoration: none; padding: 5px 0; line-height: 1; /* No text-shadow, box-shadow, or neon animations for logo */ } .logo img { display: block; max-width: 100%; height: auto; max-height: 35px; /* Desktop logo height */ } /* Desktop Navigation Buttons */ .desktop-nav-buttons { display: flex; gap: 10px; align-items: center; } /* Mobile Navigation Buttons (hidden on desktop) */ .mobile-nav-buttons { display: none; /* Hidden on desktop by default */ } /* Hamburger Menu (hidden on desktop) */ .hamburger-menu { display: none; /* Hidden on desktop by default */ background: none; border: none; cursor: pointer; padding: 10px; position: relative; z-index: 1002; /* Above overlay and menu */ } .hamburger-menu span { display: block; width: 25px; height: 3px; background-color: #ffffff; margin-bottom: 5px; position: relative; border-radius: 3px; z-index: 1002; transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Neon glow for hamburger lines */ box-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary); } .hamburger-menu span:last-child { margin-bottom: 0; } .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } /* Main Navigation Area */ .main-nav { background: linear-gradient(135deg, var(--neon-bg-darker), var(--neon-bg-darkest), var(--primary-color)); border-top: 2px solid; border-bottom: 2px solid; animation: theme-colors 5s ease-in-out infinite alternate; /* Different animation for distinction */ box-shadow: 0 0 8px var(--neon-secondary), 0 0 16px var(--neon-secondary), inset 0 0 8px rgba(255, 105, 180, 0.1); padding: 5px 0; display: flex; /* Desktop: visible, row layout */ flex-direction: row; justify-content: center; align-items: center; width: 100%; box-sizing: border-box; } .main-nav .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 25px; padding: 0 20px; } .nav-link { color: #ffffff; /* White for clear text */ text-decoration: none; font-size: 16px; font-weight: 500; padding: 8px 12px; border-radius: 4px; transition: all 0.3s ease; position: relative; overflow: hidden; /* No neon glow for nav links themselves, just hover */ } .nav-link:hover { color: var(--neon-primary); /* Highlight with neon primary on hover */ background-color: rgba(255, 255, 255, 0.1); box-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary); } /* Button Styles */ .btn { position: relative; background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary)); padding: 10px 20px; /* Adjusted padding */ color: #ffffff; text-decoration: none; border-radius: 5px; border: 2px solid; animation: theme-colors 4s ease-in-out infinite; text-shadow: 0 0 5px #ffffff, 0 0 10px var(--neon-primary); transition: all 0.3s ease; font-weight: bold; font-size: 15px; white-space: nowrap; /* Prevent text wrapping by default */ overflow: hidden; text-overflow: ellipsis; } .btn:hover { animation-duration: 2s; transform: translateY(-2px); box-shadow: 0 0 15px var(--neon-primary), 0 0 30px var(--neon-primary), inset 0 0 15px rgba(255, 215, 0, 0.3); } /* Footer Styles */ .site-footer { background-color: var(--primary-color); color: #cccccc; padding: 40px 0 20px 0; font-size: 14px; } .site-footer .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-top { padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 30px; } .footer-top .footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; } .footer-col h4 { color: #ffffff; font-size: 16px; margin-bottom: 15px; font-weight: bold; } .footer-logo { color: var(--secondary-color); font-size: 24px; font-weight: bold; text-decoration: none; margin-bottom: 15px; display: inline-block; } .footer-description { line-height: 1.6; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #cccccc; text-decoration: none; transition: color 0.3s ease; } .footer-nav a:hover { color: var(--secondary-color); } .payment-methods .payment-icons, .game-providers-section .game-providers-icons, .social-media-section .social-media-icons { display: flex; flex-wrap: wrap; flex-direction: row; align-items: flex-start; gap: 8px; /* Consistent gap for all icon sections */ width: 100%; } .payment-methods .payment-icons img, .game-providers-section .game-providers-icons img, .social-media-section .social-media-icons img { max-height: 50px; height: auto; width: auto; object-fit: contain; } .game-providers-section, .social-media-section { padding-bottom: 30px; } .footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; color: #888888; } /* Mobile Responsive */ @media (max-width: 768px) { /* Marquee Mobile */ .marquee-section { height: var(--marquee-height); /* Ensure consistent height */ } .marquee-container { gap: 10px; padding: 0 10px; } .marquee-icon { width: 25px; height: 25px; } .marquee-icon-emoji { font-size: 16px; } .marquee-text { font-size: 12px; line-height: 1.3; } .marquee-separator { font-size: 12px; margin: 0 6px; } .marquee-content { gap: 15px; animation: marquee-scroll 25s linear infinite; } /* Header Mobile */ .site-header { min-height: auto; /* Allow height to adjust */ } .header-top { padding: 5px 0; } .header-container { padding: 0 15px; width: 100%; max-width: none; /* Important for mobile */ justify-content: flex-start; /* Align hamburger left */ position: relative; /* For absolute logo positioning */ min-height: 40px; /* Adjusted min-height */ } .logo { flex: 1 !important; /* Take remaining space */ display: flex !important; justify-content: center !important; align-items: center !important; font-size: 22px; position: absolute; /* Force absolute positioning to center */ left: 50%; transform: translateX(-50%); max-width: calc(100% - 100px); /* Leave space for hamburger */ } .logo img { max-height: 30px; /* Mobile logo height */ } .desktop-nav-buttons { display: none; /* Hide desktop buttons on mobile */ } .hamburger-menu { display: block; /* Show hamburger menu on mobile */ order: -1; /* Place it at the beginning */ margin-right: auto; /* Push it to the left */ } /* Mobile Buttons - Always visible below header-top */ .mobile-nav-buttons { display: flex !important; /* Always visible on mobile */ width: 100%; max-width: 100%; box-sizing: border-box; padding: 5px 15px; /* Adjusted padding */ overflow: hidden; gap: 10px; justify-content: center; flex-wrap: nowrap; /* Ensure buttons stay in one line */ background: linear-gradient(135deg, var(--neon-bg-darkest), var(--primary-color)); border-bottom: 2px solid; animation: theme-colors 4s ease-in-out infinite alternate; box-shadow: 0 0 5px var(--neon-accent), 0 0 10px var(--neon-accent), inset 0 0 5px rgba(0, 255, 255, 0.1); } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); /* Account for gap */ box-sizing: border-box; white-space: normal; /* Allow text to wrap */ word-wrap: break-word; overflow-wrap: break-word; padding: 8px 12px; font-size: 13px; text-align: center; } /* Main Navigation Mobile */ .main-nav { display: none; /* Hidden by default on mobile, toggled by JS */ flex-direction: column; position: fixed; top: calc(var(--marquee-height) + 40px + 40px); /* Marquee height + header-top height + mobile-buttons height */ left: 0; width: 80%; max-width: 300px; height: calc(100vh - (var(--marquee-height) + 40px + 40px)); /* Adjust height for fixed elements */ background: linear-gradient(180deg, var(--neon-bg-darker), var(--primary-color)); transform: translateX(-100%); /* Start off-screen */ transition: transform 0.3s ease; z-index: 1000; /* Above overlay */ padding: 20px 0; overflow-y: auto; /* Enable scrolling for long menus */ border-right: 2px solid; animation: theme-colors 5s ease-in-out infinite alternate; box-shadow: 5px 0 15px var(--neon-secondary), 10px 0 30px var(--neon-secondary), inset 0 0 10px rgba(255, 105, 180, 0.1); } .main-nav.active { display: flex; /* Show menu when active */ transform: translateX(0); /* Slide in */ } .main-nav .nav-container { flex-direction: column; gap: 15px; padding: 0 15px; width: 100%; max-width: none; /* Important for mobile */ } .nav-link { font-size: 18px; width: 100%; text-align: left; padding: 10px 0; } /* Mobile Menu Overlay */ .mobile-menu-overlay { display: none; /* Hidden by default */ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 999; /* Below menu, above content */ transition: opacity 0.3s ease; opacity: 0; } .mobile-menu-overlay.active { display: block; opacity: 1; } /* Mobile Footer */ .site-footer .footer-top .footer-container { grid-template-columns: 1fr; /* Single column on mobile */ } .site-footer .footer-container { padding: 0 15px; } .footer-col { margin-bottom: 20px; } .game-providers-section, .social-media-section { padding-bottom: 20px; } .footer-bottom { padding-top: 15px; } /* General mobile content overflow prevention */ .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } } /* Body no-scroll when menu is open */ body.no-scroll { overflow: hidden; }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@media (max-width: 768px) {
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
