/**
 * Phlein Online Gaming Platform - Main Stylesheet
 * All classes use prefix: w6f03- | Colors: #87CEFA (text) | #141414 (bg)
 */

:root {
  --w6f03-primary: #87CEFA;
  --w6f03-secondary: #5CACEE;
  --w6f03-dark: #141414;
  --w6f03-darker: #0a0a0a;
  --w6f03-border: #2a2a2a;
  --w6f03-hover: #6BB6E8;
  --w6f03-text-dim: #6AADD4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; font-size: 1.4rem; line-height: 1.5; color: var(--w6f03-primary); background: var(--w6f03-dark); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--w6f03-primary); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--w6f03-hover); }
button { border: none; outline: none; cursor: pointer; font-family: inherit; transition: all 0.3s ease; }
ul, ol { list-style: none; }

.w6f03-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.w6f03-wrapper { width: 100%; min-height: 100vh; position: relative; }
.w6f03-main { padding-top: 6rem; padding-bottom: 8rem; min-height: calc(100vh - 6rem); }

/* Header */
.w6f03-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: linear-gradient(135deg, var(--w6f03-darker) 0%, var(--w6f03-dark) 100%); box-shadow: 0 2px 8px rgba(0,0,0,0.3); border-bottom: 1px solid var(--w6f03-border); }
.w6f03-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1.2rem; max-width: 430px; margin: 0 auto; }
.w6f03-logo-wrapper { display: flex; align-items: center; gap: 0.8rem; }
.w6f03-logo { width: 28px; height: 28px; object-fit: contain; }
.w6f03-site-name { font-size: 1.8rem; font-weight: 700; color: var(--w6f03-primary); text-transform: uppercase; letter-spacing: 0.1rem; }
.w6f03-header-actions { display: flex; align-items: center; gap: 0.8rem; }
.w6f03-btn-register, .w6f03-btn-login { padding: 0.6rem 1.2rem; font-size: 1.2rem; font-weight: 600; border-radius: 0.8rem; transition: all 0.3s ease; }
.w6f03-btn-register { background: linear-gradient(135deg, #4A9DD6 0%, var(--w6f03-secondary) 100%); color: #fff; }
.w6f03-btn-register:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.w6f03-btn-login { background: transparent; color: var(--w6f03-primary); border: 1px solid var(--w6f03-primary); }
.w6f03-btn-login:hover { background: var(--w6f03-primary); color: var(--w6f03-dark); }
.w6f03-menu-toggle { background: transparent; color: var(--w6f03-primary); font-size: 2.4rem; padding: 0.4rem; display: flex; }

/* Mobile Menu */
.w6f03-menu-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); z-index: 9998; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.w6f03-overlay-active { opacity: 1; visibility: visible; }
.w6f03-mobile-menu { position: fixed; top: 0; right: -100%; bottom: 0; width: 85%; max-width: 320px; background: linear-gradient(135deg, var(--w6f03-darker) 0%, var(--w6f03-dark) 100%); z-index: 9999; overflow-y: auto; transition: right 0.3s ease; box-shadow: -4px 0 16px rgba(0,0,0,0.5); }
.w6f03-menu-active { right: 0; }
.w6f03-menu-header { padding: 1.2rem; border-bottom: 1px solid var(--w6f03-border); display: flex; justify-content: space-between; align-items: center; }
.w6f03-menu-title { font-size: 1.6rem; font-weight: 700; color: var(--w6f03-primary); }
.w6f03-menu-close { background: transparent; color: var(--w6f03-primary); font-size: 2.4rem; padding: 0.4rem; }
.w6f03-menu-list { padding: 1.2rem; }
.w6f03-menu-item { margin-bottom: 0.4rem; }
.w6f03-menu-link { display: flex; align-items: center; gap: 0.8rem; padding: 1.2rem; color: var(--w6f03-primary); font-size: 1.4rem; border-radius: 0.8rem; transition: all 0.3s ease; }
.w6f03-menu-link:hover, .w6f03-menu-link:active { background: rgba(135,206,250,0.1); color: var(--w6f03-primary); }
.w6f03-menu-link i { font-size: 2rem; width: 2.4rem; text-align: center; }

/* Bottom Nav */
.w6f03-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; background: linear-gradient(135deg, var(--w6f03-darker) 0%, var(--w6f03-dark) 100%); border-top: 1px solid var(--w6f03-border); box-shadow: 0 -2px 8px rgba(0,0,0,0.3); }
.w6f03-bottom-nav-inner { display: flex; justify-content: space-around; align-items: center; padding: 0.6rem 0; max-width: 430px; margin: 0 auto; }
.w6f03-nav-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem; background: transparent; color: var(--w6f03-text-dim); min-width: 60px; min-height: 60px; padding: 0.4rem; border-radius: 0.8rem; transition: all 0.3s ease; }
.w6f03-nav-btn:hover, .w6f03-nav-btn:active, .w6f03-nav-btn.w6f03-nav-active { color: var(--w6f03-primary); background: rgba(135,206,250,0.1); }
.w6f03-nav-btn i { font-size: 2.4rem; }
.w6f03-nav-btn span { font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05rem; }

/* Carousel */
.w6f03-carousel { position: relative; width: 100%; overflow: hidden; border-radius: 0.8rem; margin: 1.2rem 0; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.w6f03-carousel-track { display: flex; transition: transform 0.5s ease; }
.w6f03-carousel-slide { min-width: 100%; cursor: pointer; position: relative; }
.w6f03-carousel-slide img { width: 100%; height: auto; display: block; }
.w6f03-carousel-dots { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.4rem; z-index: 10; }
.w6f03-carousel-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; transition: all 0.3s ease; }
.w6f03-carousel-dot.w6f03-dot-active { background: var(--w6f03-primary); transform: scale(1.2); }

/* Sections */
.w6f03-section { padding: 2.4rem 0; border-bottom: 1px solid var(--w6f03-border); }
.w6f03-section-title { font-size: 2.4rem; font-weight: 700; color: var(--w6f03-primary); margin-bottom: 1.2rem; text-align: center; text-transform: uppercase; letter-spacing: 0.1rem; }
.w6f03-section-subtitle { font-size: 1.6rem; color: var(--w6f03-text-dim); margin-bottom: 1.6rem; text-align: center; line-height: 1.6; }

/* Game Tabs */
.w6f03-game-tabs { display: flex; gap: 0.4rem; overflow-x: auto; margin-bottom: 1.6rem; padding: 0.4rem 0; scrollbar-width: none; }
.w6f03-game-tabs::-webkit-scrollbar { display: none; }
.w6f03-game-tab { padding: 0.8rem 1.2rem; background: rgba(135,206,250,0.1); color: var(--w6f03-primary); font-size: 1.3rem; font-weight: 600; border-radius: 0.8rem; white-space: nowrap; border: 1px solid transparent; transition: all 0.3s ease; cursor: pointer; }
.w6f03-game-tab:hover { background: rgba(135,206,250,0.2); border-color: var(--w6f03-primary); }
.w6f03-game-tab.w6f03-tab-active { background: linear-gradient(135deg, #4A9DD6 0%, var(--w6f03-secondary) 100%); color: #fff; border-color: var(--w6f03-secondary); }

/* Game Grid */
.w6f03-game-panel { display: none; }
.w6f03-game-panel.w6f03-panel-active { display: block; }
.w6f03-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 1.6rem; }
.w6f03-game-item { position: relative; cursor: pointer; border-radius: 0.8rem; overflow: hidden; transition: all 0.3s ease; background: rgba(135,206,250,0.05); }
.w6f03-game-item:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.w6f03-game-icon { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.w6f03-game-name { padding: 0.6rem; font-size: 1.1rem; color: var(--w6f03-primary); text-align: center; background: rgba(10,10,10,0.9); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Buttons */
.w6f03-btn { display: inline-block; padding: 1.2rem 2.4rem; font-size: 1.4rem; font-weight: 600; text-align: center; border-radius: 0.8rem; cursor: pointer; transition: all 0.3s ease; border: none; }
.w6f03-btn-primary { background: linear-gradient(135deg, #4A9DD6 0%, var(--w6f03-secondary) 100%); color: #fff; }
.w6f03-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.w6f03-btn-outline { background: transparent; color: var(--w6f03-primary); border: 2px solid var(--w6f03-primary); }
.w6f03-btn-outline:hover { background: var(--w6f03-primary); color: var(--w6f03-dark); }
.w6f03-btn-block { display: block; width: 100%; }

/* Cards */
.w6f03-card { background: rgba(135,206,250,0.05); border: 1px solid var(--w6f03-border); border-radius: 0.8rem; padding: 1.6rem; margin-bottom: 1.2rem; transition: all 0.3s ease; }
.w6f03-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.4); border-color: var(--w6f03-primary); }
.w6f03-card-title { font-size: 1.8rem; font-weight: 700; color: var(--w6f03-primary); margin-bottom: 1.2rem; }
.w6f03-card-content { font-size: 1.4rem; color: var(--w6f03-primary); line-height: 1.6; }
.w6f03-card-content p { margin-bottom: 1rem; }
.w6f03-card-content ul { list-style: disc; margin-left: 2rem; }
.w6f03-card-content ul li { margin-bottom: 0.5rem; }

/* Footer */
.w6f03-footer { background: var(--w6f03-darker); padding: 2.4rem 0 1.2rem; border-top: 1px solid var(--w6f03-border); }
.w6f03-footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-bottom: 1.6rem; padding: 0 1.2rem; }
.w6f03-footer-link { font-size: 1.2rem; color: var(--w6f03-text-dim); }
.w6f03-footer-link:hover { color: var(--w6f03-primary); }
.w6f03-partners { margin-bottom: 1.6rem; }
.w6f03-partners-title { font-size: 1.4rem; text-align: center; color: var(--w6f03-text-dim); margin-bottom: 1.2rem; }
.w6f03-partners-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; padding: 0 1.2rem; max-width: 400px; margin: 0 auto; }
.w6f03-partner-logo { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; filter: grayscale(100%) opacity(0.6); transition: all 0.3s ease; }
.w6f03-partner-logo:hover { filter: grayscale(0%) opacity(1); }
.w6f03-copyright { text-align: center; font-size: 1.2rem; color: var(--w6f03-text-dim); padding: 1.2rem; border-top: 1px solid var(--w6f03-border); }

/* Utilities */
.w6f03-text-center { text-align: center; }
.w6f03-text-primary { color: var(--w6f03-primary); }
.w6f03-text-bold { font-weight: 700; }
.w6f03-mt-sm { margin-top: 0.8rem; }
.w6f03-mt-md { margin-top: 1.2rem; }
.w6f03-mt-lg { margin-top: 1.6rem; }
.w6f03-mb-sm { margin-bottom: 0.8rem; }
.w6f03-mb-md { margin-bottom: 1.2rem; }
.w6f03-mb-lg { margin-bottom: 1.6rem; }

/* Responsive */
@media (max-width: 768px) {
  .w6f03-main { padding-bottom: 8rem; }
  .w6f03-bottom-nav { display: block; }
}

@media (min-width: 769px) {
  .w6f03-bottom-nav { display: none; }
  .w6f03-main { padding-bottom: 2rem; }
}
