@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --primary: #0033CC;
    --primary-dark: #001a66;
    --primary-light: #1a53ff;
    --secondary: #FFD700;
    --secondary-dark: #ccac00;
    --accent: #B71C1C;
    --accent-light: #e53935;
    --success: #18A707;
    --success-dark: #0d7a00;
    --bg-dark: #0a0e1a;
    --bg-card: #111827;
    --bg-card-hover: #1a2340;
    --bg-section: #0d1225;
    --text-white: #ffffff;
    --text-muted: #9ca3af;
    --text-light: #d1d5db;
    --border-color: #1e293b;
    --gradient-primary: linear-gradient(135deg, #0033CC 0%, #001a66 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #f59e0b 100%);
    --gradient-accent: linear-gradient(135deg, #B71C1C 0%, #e53935 100%);
    --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #0d1225 50%, #001a66 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 51, 204, 0.3);
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER & NAV ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 14, 26, 0.98);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
}

.logo span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
    background: rgba(255, 215, 0, 0.08);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.nav-cta {
    background: var(--gradient-gold) !important;
    color: var(--bg-dark) !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow-gold);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4) !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 51, 204, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 60px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
}

.hero-stat .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 51, 204, 0.5);
}

.btn-secondary {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(255, 215, 0, 0.05);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--text-white);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--text-white);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(183, 28, 28, 0.4);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.15rem;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-section);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    display: inline-block;
    background: rgba(0, 51, 204, 0.1);
    border: 1px solid rgba(0, 51, 204, 0.2);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.section-header h2 .highlight {
    color: var(--secondary);
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 51, 204, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.card-icon.blue {
    background: rgba(0, 51, 204, 0.15);
    color: var(--primary-light);
}

.card-icon.gold {
    background: rgba(255, 215, 0, 0.15);
    color: var(--secondary);
}

.card-icon.red {
    background: rgba(183, 28, 28, 0.15);
    color: var(--accent-light);
}

.card-icon.green {
    background: rgba(24, 167, 7, 0.15);
    color: var(--success);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.cards-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===== GAME CARDS ===== */
.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card-body {
    padding: 20px;
}

.game-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.game-card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.game-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.game-badge.live {
    background: var(--success);
}

.game-badge.hot {
    background: var(--accent);
}

.game-badge.new {
    background: var(--primary);
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background: var(--bg-card-hover);
}

.feature-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--gradient-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--bg-dark);
}

.feature-text h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== TOOLS ===== */

/* Tools parent section */
.tools-section {
    background: var(--bg-section);
}

/* 3-column tools grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

/* Each tool card */
.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition);
}

.tool-card:hover {
    border-color: rgba(255, 215, 0, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.06);
    transform: translateY(-4px);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.tool-card > p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Tool form area */
.tool-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tool-form .form-group {
    margin-bottom: 16px;
}

.tool-form .form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* Inputs & selects inside tools */
.tool-form input[type="text"],
.tool-form input[type="number"],
.tool-form select {
    width: 100%;
    padding: 12px 16px;
    background: #0f1328;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.tool-form input[type="text"]:hover,
.tool-form input[type="number"]:hover,
.tool-form select:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: #121838;
}

.tool-form input[type="text"]:focus,
.tool-form input[type="number"]:focus,
.tool-form select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
    background: #121838;
}

.tool-form input::placeholder {
    color: #4b5563;
}

.tool-form select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFD700' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.tool-form select option {
    background: #0f1328;
    color: var(--text-white);
    padding: 8px;
}

/* Tool buttons */
.tool-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.tool-form .btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.2);
}

.tool-form .btn-primary:hover {
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.35);
    transform: translateY(-2px);
}

/* Results area */
.tool-result {
    background: linear-gradient(135deg, #0a0e1a 0%, #0f1328 100%);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 16px;
}

.tool-result:empty {
    display: none;
}

.tool-result h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.tool-result .result-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
    line-height: 1.2;
}

.tool-result .result-detail {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tool-result .result-detail:first-of-type {
    margin-top: 12px;
}

.tool-result p.result-detail {
    border-top: none;
    padding-top: 2px;
}

/* Bet tracker table inside tool-result */
.tool-result table {
    width: 100%;
    border-collapse: collapse;
}

.tool-result table th {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tool-result table td {
    padding: 10px 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tool-result table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Legacy class compat (used by some tool-section based pages) */
.tool-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 30px;
}

.tool-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.tool-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tool-input-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tool-input {
    width: 100%;
    padding: 12px 16px;
    background: #0f1328;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.tool-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

.tool-input::placeholder {
    color: #4b5563;
}

select.tool-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFD700' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* ===== FORM STYLES ===== */
.form-container {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 204, 0.2);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-check label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-footer a {
    color: var(--secondary);
    font-weight: 600;
}

/* ===== APK SECTION ===== */
.apk-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.apk-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.apk-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.apk-feature .check {
    width: 28px;
    height: 28px;
    background: rgba(24, 167, 7, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.apk-phone {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 20px;
    text-align: center;
}

.apk-phone-screen {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.apk-phone-screen .phone-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.apk-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.apk-spec {
    text-align: center;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.apk-spec .spec-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
}

.apk-spec .spec-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== CONTENT PAGES ===== */
.content-page {
    padding: 120px 0 60px;
}

.content-page .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.content-page .page-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.content-page h2 {
    font-size: 1.6rem;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--secondary);
}

.content-page h3 {
    font-size: 1.3rem;
    margin-top: 28px;
    margin-bottom: 12px;
}

.content-page p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1rem;
}

.content-page ul, .content-page ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-page ul {
    list-style: disc;
}

.content-page ol {
    list-style: decimal;
}

.content-page li {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.content-page a {
    color: var(--primary-light);
}

.content-page a:hover {
    color: var(--secondary);
}

/* ===== BETTING PAGE ===== */
.betting-toc {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 36px;
}

.betting-toc h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.betting-toc ol {
    list-style: decimal;
    padding-left: 20px;
}

.betting-toc li {
    margin-bottom: 6px;
}

.betting-toc a {
    color: var(--primary-light);
    font-size: 0.95rem;
}

.betting-toc a:hover {
    color: var(--secondary);
}

.info-box {
    background: rgba(0, 51, 204, 0.08);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
}

.info-box p {
    color: var(--text-light);
    margin: 0;
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-question .faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 51, 204, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.2rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 96px;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-glow);
}

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

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

/* ===== HOMEPAGE CLASS ALIASES & MISSING STYLES ===== */

/* Page loader spinner alias (homepage uses .spinner) */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Hero subtitle */
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero stats (homepage uses .stat-item/.stat-number/.stat-label) */
.hero-stats .stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

/* Games grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Game card sub-elements (homepage uses .game-image/.game-info) */
.game-image {
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.game-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

/* Game badge variants (homepage uses .badge-hot etc) */
.badge-hot,
.badge-new,
.badge-live {
    position: absolute;
    top: 12px;
    right: 12px;
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.badge-hot {
    background: var(--accent);
}

.badge-new {
    background: var(--primary);
}

.badge-live {
    background: var(--success);
}

/* Feature cards (homepage uses .feature-card/.feature-icon) */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 18px;
    background: rgba(255, 215, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Steps grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 51, 204, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-white);
    margin: 0 auto 18px;
    box-shadow: var(--shadow-glow);
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Testimonials grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Testimonial stars */
.testimonial-stars {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

/* Testimonial author elements (homepage uses .author-avatar/.author-info) */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-weight: 700;
    font-size: 0.95rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Content block (homepage about section) */
.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: 1.6rem;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--secondary);
}

.content-block h3 {
    font-size: 1.3rem;
    margin-top: 28px;
    margin-bottom: 12px;
}

.content-block p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1rem;
}

/* Social links (homepage footer uses .social-links) */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Contact page info cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.info-card:hover {
    border-color: rgba(0, 51, 204, 0.3);
    background: var(--bg-card-hover);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 8px;
}

/* Textarea styling for form-control */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Select dropdown styling for form-control */
select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFD700' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

select.form-control option {
    background: var(--bg-dark);
    color: var(--text-white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero h1 { font-size: 2.4rem; }
    .section-header h2 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .apk-hero { grid-template-columns: 1fr; gap: 40px; }
    .apk-specs { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 80px 30px 30px;
        border-left: 1px solid var(--border-color);
        transition: right 0.3s ease;
        gap: 4px;
    }

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

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 24px; }
    .hero-stat .number { font-size: 1.8rem; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 1.8rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-container { padding: 28px 20px; }
    .tool-section { padding: 24px; }
    .tool-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: 1fr; }
    .tool-card { padding: 24px; }
    .games-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .info-cards { grid-template-columns: 1fr; }
    .content-page h1 { font-size: 1.8rem; }
    .apk-specs { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-number { font-size: 1.8rem; }
    .btn { width: 100%; justify-content: center; }
    .cards-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}

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

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

/* ===== TABLES ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow-x: auto;
    display: block;
}

.data-table thead th {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 12px 16px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.95rem;
}

.data-table tbody tr:hover {
    background: var(--bg-card-hover);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 3rem;
    color: rgba(0, 51, 204, 0.2);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    color: var(--text-light);
    margin-bottom: 16px;
    font-style: italic;
    padding-top: 12px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.cta-section .btn {
    position: relative;
    z-index: 2;
}

/* ===== LOADING ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
