/**
 * ACCESSCOOPPH.COM - UI Engine Core Stylesheet Asset Layer
 * Premium Green Garena App-Launcher Glassmorphic Theme Engine
 * File Path: css/access_style.css
 */

:root {
    --g-dark-space: #07170e;
    --g-panel-bg: rgba(10, 31, 18, 0.88);
    --g-card-border: rgba(0, 230, 118, 0.24);
    --g-emerald: #00E676;
    --g-emerald-glow: rgba(0, 230, 118, 0.35);
    --g-forest: #00703C;
    --g-text-bright: #E5F6EB;
    --g-text-dim: #8AA493;
    --transition-curve: cubic-bezier(0.25, 1, 0.5, 1);
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--g-dark-space);
    color: var(--g-text-bright);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Background Particle Layer */
.bg-particle-canvas {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Kinetic Application Full-Card Overlay Loader */
.launcher-loader-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #05120a;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--transition-curve);
}

.launcher-loader-overlay.active-loader {
    opacity: 1;
    pointer-events: auto;
}

.loader-matrix-core {
    text-align: center;
    position: relative;
}

.spinner-ring {
    width: 140px;
    height: 140px;
    border: 3px solid rgba(0, 230, 118, 0.05);
    border-top: 3px solid var(--g-emerald);
    border-radius: 50%;
    animation: spinLoop 1.1s linear infinite;
    filter: drop-shadow(0 0 12px var(--g-emerald-glow));
    margin: 0 auto 25px auto;
}

.loader-brand-logo {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    height: 65px;
    object-fit: contain;
    animation: breathePulse 2.5s ease-in-out infinite;
}

.loader-cyber-text {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 6px;
    text-shadow: 0 0 10px var(--g-emerald-glow);
}

.loader-sub-progress {
    font-size: 11px;
    letter-spacing: 1px;
    font-family: monospace;
    color: var(--g-text-dim);
}

.loader-sub-progress span {
    color: var(--g-emerald);
    font-weight: 700;
}

/* Administrative Diagnostic Ribbon */
.portal-top-ticker {
    background: rgba(5, 17, 9, 0.95);
    border-bottom: 1px solid rgba(0, 230, 118, 0.12);
    padding: 9px 24px;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-family: monospace;
    color: var(--g-text-dim);
    position: relative;
    z-index: 10;
}

.ticker-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.ticker-system { color: var(--g-emerald); text-shadow: 0 0 8px var(--g-emerald-glow); }

/* Column Splitting Launcher Layout Frame */
.garena-main-wrapper {
    display: flex;
    flex: 1;
    position: relative;
    z-index: 5;
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
}

/* Left Informative Visual Column */
.portal-marketing-side {
    flex: 1.3;
    display: flex;
    align-items: center;
    padding: 60px;
}

.showcase-card { max-width: 580px; }

.portal-badge {
    display: inline-block;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid var(--g-emerald);
    color: var(--g-emerald);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
    text-shadow: 0 0 10px var(--g-emerald-glow);
}

.hero-title { font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin: 0 0 20px 0; color: #FFFFFF; }
.highlight-green { color: var(--g-emerald); text-shadow: 0 0 25px rgba(0, 230, 118, 0.35); }
.hero-desc { font-size: 1.1rem; line-height: 1.6; color: var(--g-text-dim); margin: 0 0 45px 0; }

/* Grid Dashboard Highlights */
.dashboard-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 50px; }

.grid-card {
    background: rgba(11, 38, 21, 0.4);
    border: 1px solid rgba(0, 230, 118, 0.08);
    padding: 24px;
    border-radius: 8px;
    transition: all 0.3s var(--transition-curve);
}

.grid-card:hover {
    background: rgba(11, 38, 21, 0.6);
    border-color: rgba(0, 230, 118, 0.25);
    transform: translateY(-4px);
}

.card-icon-wrap { font-size: 24px; color: var(--g-emerald); margin-bottom: 12px; text-shadow: 0 0 10px var(--g-emerald-glow); }
.grid-card h4 { font-size: 1.05rem; margin: 0 0 6px 0; color: #fff; font-weight: 600; }
.grid-card p { font-size: 0.88rem; margin: 0; color: var(--g-text-dim); line-height: 1.4; }

.launcher-status-bar {
    background: rgba(9, 26, 15, 0.6);
    padding: 12px 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    font-family: monospace;
    border-left: 3px solid var(--g-emerald);
}

.ping-indicator { display: flex; align-items: center; gap: 8px; color: #fff; }
.ping-dot { width: 6px; height: 6px; background-color: var(--g-emerald); border-radius: 50%; display: inline-block; animation: pulseGlow 1.5s infinite; }
.ping-ms { color: var(--g-emerald); font-weight: 700; }

/* Right Panel Authentication Grid Intersect Layout */
.portal-interactive-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.garena-login-card {
    background: var(--g-panel-bg);
    border: 1px solid var(--g-card-border);
    width: 100%;
    max-width: 440px;
    padding: 45px;
    border-radius: 16px;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.03);
    position: relative;
    overflow: hidden;
}

/* Enhanced Corporate Branding Layer */
.enhanced-branding-header { text-align: center; margin-bottom: 35px; position: relative; }

.logo-glow-container { position: relative; display: inline-block; margin-bottom: 18px; }
.logo-glow-container::before {
    content: ''; position: absolute; top: 50%; left: 50%; width: 90px; height: 90px;
    background: var(--g-emerald); border-radius: 50%; transform: translate(-50%, -50%);
    filter: blur(28px); opacity: 0.3; z-index: -1; animation: pulseBreathe 4s infinite ease-in-out;
}

.enhanced-logo { height: 75px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(0, 230, 118, 0.35)); transition: transform 0.4s var(--transition-curve); }
.enhanced-logo:hover { transform: scale(1.08) rotate(3deg); }
.form-title { font-size: 1.5rem; font-weight: 700; color: #FFFFFF; letter-spacing: 0.5px; margin: 0 0 4px 0; text-transform: uppercase; }
.form-subtitle { font-size: 0.88rem; color: var(--g-text-dim); margin: 0; }

/* Input Elements Form Layout Rules */
.garena-field-group { margin-bottom: 24px; position: relative; }
.field-lbl { display: block; font-size: 0.8rem; font-weight: 700; color: var(--g-text-dim); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.field-input-box { position: relative; display: flex; align-items: center; }

.garena-input, .garena-select {
    width: 100%; background: rgba(7, 23, 13, 0.7); border: 1px solid rgba(0, 230, 118, 0.15);
    padding: 15px 16px; font-size: 0.95rem; color: #FFFFFF; border-radius: 6px; outline: none; transition: all 0.3s var(--transition-curve);
}

.garena-input::placeholder { color: rgba(138, 164, 147, 0.3); }
.garena-input:focus, .garena-select:focus { border-color: var(--g-emerald); background: rgba(7, 23, 13, 0.9); box-shadow: 0 0 15px rgba(0, 230, 118, 0.12); }

.input-focus-glow {
    position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
    background: var(--g-emerald); transition: all 0.3s var(--transition-curve); pointer-events: none; box-shadow: 0 0 8px var(--g-emerald);
}
.garena-input:focus ~ .input-focus-glow, .garena-select:focus ~ .input-focus-glow { width: 100%; left: 0; }

.garena-select {
    appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://w3.org' viewBox='0 0 24 24' fill='none' stroke='%238AA493' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right 16px center; background-size: 14px; padding-right: 44px;
}

/* Selection Toggles Option Elements Layout Row */
.garena-options-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; font-size: 0.88rem; }
.garena-checkbox-container { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.garena-checkbox-container input { display: none; }

.custom-check-box { width: 18px; height: 18px; border: 1px solid rgba(0, 230, 118, 0.25); background: rgba(7, 23, 13, 0.7); border-radius: 4px; position: relative; transition: all 0.2s; }
.garena-checkbox-container input:checked + .custom-check-box { background: var(--g-emerald); border-color: var(--g-emerald); box-shadow: 0 0 10px var(--g-emerald-glow); }
.garena-checkbox-container input:checked + .custom-check-box::after { content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 11px; color: #04140a; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.checkbox-text { color: var(--g-text-dim); transition: color 0.2s; }
.garena-checkbox-container:hover .checkbox-text { color: #fff; }

.app-qr-link { color: var(--g-emerald); font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.app-qr-link:hover { text-decoration: underline; color: #fff; }

/* Sliding QR Drawer Wrapper Component */
.qr-vault-slider { max-height: 0; overflow: hidden; opacity: 0; transition: all 0.4s var(--transition-curve); background: rgba(6, 20, 11, 0.6); border-radius: 8px; }
.qr-vault-slider.open-vault { max-height: 220px; opacity: 1; margin-bottom: 24px; border: 1px dashed rgba(0, 230, 118, 0.25); }
.qr-vault-inner { padding: 20px; text-align: center; }
.qr-vault-inner img { height: 110px; width: 110px; background: #fff; padding: 4px; border-radius: 4px; margin-bottom: 10px; }
.qr-vault-inner p { font-size: 0.78rem; margin: 0; color: var(--g-text-dim); line-height: 1.4; }

/* Primary Kinetic Action Launch Panel Controller Button Button */
.garena-action-container { position: relative; }
.garena-btn-primary {
    width: 100%; padding: 16px; background: linear-gradient(90deg, var(--g-forest) 0%, var(--g-emerald) 100%);
    border: none; border-radius: 6px; color: #031409; font-size: 1rem; font-weight: 800; letter-spacing: 1px;
    cursor: pointer; position: relative; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 230, 118, 0.2); transition: transform 0.2s, box-shadow 0.2s;
}
.garena-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 230, 118, 0.35); }
.garena-btn-primary:active { transform: translateY(0); }

.btn-shimmer { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); animation: laserShimmer 3.5s infinite linear; }

/* Signature Footnote Component System */
.garena-card-footer { text-align: center; margin-top: 35px; font-size: 0.78rem; color: var(--g-text-dim); border-top: 1px solid rgba(138, 164, 147, 0.08); padding-top: 20px; }
.garena-card-footer a { color: var(--g-emerald); text-decoration: none; }
.garena-card-footer a:hover { text-decoration: underline; }

/* Core Layout Animation Frames */
@keyframes spinLoop { to { transform: rotate(360deg); } }
@keyframes breathePulse { 0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.05); } }
@keyframes pulseBreathe { 0%, 100% { opacity: 0.25; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.08); } }
@keyframes pulseGlow { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes laserShimmer { 0% { left: -100%; } 25% { left: 100%; } 100% { left: 100%; } }
@keyframes scaleUp { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }

.animate-scale-up { animation: scaleUp 0.5s var(--transition-curve) forwards; }
.animate-slide-right { animation: slideRight 0.6s var(--transition-curve) forwards; }

/* Fluid Responsive Breakpoint Allocations */
@media (max-width: 1024px) {
    .portal-marketing-side { display: none; }
    body { background: #05130b; }
    .portal-interactive-side { padding: 16px; }
    .garena-login-card { border: none; background: transparent; box-shadow: none; padding: 20px; }
}
