/**
 * Phsky Login App - Main Stylesheet
 * File: css/style-274a.css
 * Prefix: g4ae-
 */

/* CSS Variables */
:root {
    --g4ae-primary: #FF4500;
    --g4ae-secondary: #FF69B4;
    --g4ae-accent: #CD853F;
    --g4ae-bg: #141414;
    --g4ae-bg-light: #1a1a1a;
    --g4ae-text: #ffffff;
    --g4ae-text-muted: #b0b0b0;
    --g4ae-border: #333333;
    --g4ae-gradient: linear-gradient(135deg, #FF4500, #FF69B4);
}

/* Base Styles */
html {
    font-size: 62.5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--g4ae-bg);
    color: var(--g4ae-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.g4ae-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--g4ae-bg) 0%, rgba(20, 20, 20, 0.95) 100%);
    padding: 1rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--g4ae-border);
}

.g4ae-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g4ae-logo img {
    width: 28px;
    height: 28px;
}

.g4ae-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--g4ae-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.g4ae-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.g4ae-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.g4ae-btn-primary {
    background: var(--g4ae-gradient);
    color: white;
}

.g4ae-btn-secondary {
    background: transparent;
    color: var(--g4ae-primary);
    border: 2px solid var(--g4ae-primary);
}

.g4ae-btn:hover {
    transform: scale(1.05);
}

.g4ae-menu-toggle {
    background: transparent;
    border: none;
    color: var(--g4ae-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.g4ae-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--g4ae-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.g4ae-menu-active {
    right: 0;
}

.g4ae-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.g4ae-overlay-active {
    opacity: 1;
    visibility: visible;
}

.g4ae-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--g4ae-border);
}

.g4ae-menu-close {
    background: transparent;
    border: none;
    color: var(--g4ae-text);
    font-size: 2rem;
    cursor: pointer;
}

.g4ae-menu-nav {
    list-style: none;
}

.g4ae-menu-nav li {
    margin-bottom: 1.2rem;
}

.g4ae-menu-nav a {
    color: var(--g4ae-text);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
}

.g4ae-menu-nav a:hover {
    background: var(--g4ae-primary);
}

/* Main Content */
.g4ae-main {
    padding-top: 6rem;
}

@media (max-width: 768px) {
    .g4ae-main {
        padding-bottom: 80px;
    }
}

/* Carousel Styles */
.g4ae-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    margin: 1rem;
}

.g4ae-slides {
    position: relative;
    height: 180px;
}

.g4ae-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.g4ae-slide-active {
    opacity: 1;
}

.g4ae-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.g4ae-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.g4ae-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.g4ae-dot-active {
    background: var(--g4ae-primary);
}

/* Section Styles */
.g4ae-section {
    padding: 2rem 1rem;
}

.g4ae-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--g4ae-text);
    text-align: center;
}

.g4ae-section-title span {
    color: var(--g4ae-primary);
}

/* Game Grid */
.g4ae-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.g4ae-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.g4ae-game-item:hover {
    transform: scale(1.05);
}

.g4ae-game-item img {
    width: 60px;
    height: 60px;
    border-radius: 0.8rem;
    margin-bottom: 0.5rem;
}

.g4ae-game-name {
    font-size: 1.1rem;
    color: var(--g4ae-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.g4ae-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--g4ae-secondary);
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--g4ae-primary);
}

/* Content Card */
.g4ae-card {
    background: var(--g4ae-bg-light);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--g4ae-border);
}

.g4ae-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--g4ae-primary);
}

.g4ae-card-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--g4ae-text-muted);
}

.g4ae-card-text a {
    color: var(--g4ae-secondary);
    font-weight: 600;
}

/* Features Grid */
.g4ae-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.g4ae-feature-item {
    background: var(--g4ae-bg-light);
    padding: 1.2rem;
    border-radius: 0.8rem;
    text-align: center;
    border: 1px solid var(--g4ae-border);
}

.g4ae-feature-icon {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    color: var(--g4ae-primary);
}

.g4ae-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.g4ae-feature-desc {
    font-size: 1.1rem;
    color: var(--g4ae-text-muted);
}

/* RTP Analysis */
.g4ae-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.g4ae-rtp-item {
    background: linear-gradient(135deg, var(--g4ae-bg-light), var(--g4ae-bg));
    padding: 1rem;
    border-radius: 0.8rem;
    border: 1px solid var(--g4ae-border);
}

.g4ae-rtp-label {
    font-size: 1.1rem;
    color: var(--g4ae-text-muted);
    margin-bottom: 0.3rem;
}

.g4ae-rtp-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g4ae-secondary);
}

/* Promo Link */
.g4ae-promo-link {
    color: var(--g4ae-primary);
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s ease;
}

.g4ae-promo-link:hover {
    color: var(--g4ae-secondary);
}

.g4ae-promo-btn {
    display: inline-block;
    background: var(--g4ae-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    margin: 1rem 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.g4ae-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.4);
}

/* Footer Styles */
.g4ae-footer {
    background: var(--g4ae-bg-light);
    padding: 2rem 1rem;
    border-top: 1px solid var(--g4ae-border);
}

.g4ae-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.g4ae-footer-links a {
    color: var(--g4ae-text-muted);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.g4ae-footer-links a:hover {
    color: var(--g4ae-primary);
}

.g4ae-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.g4ae-partners img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.g4ae-partners img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.g4ae-copyright {
    text-align: center;
    color: var(--g4ae-text-muted);
    font-size: 1.2rem;
}

/* Bottom Navigation */
.g4ae-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, var(--g4ae-bg) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    z-index: 1000;
    border-top: 1px solid var(--g4ae-border);
}

@media (min-width: 769px) {
    .g4ae-bottom-nav {
        display: none;
    }
}

.g4ae-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.8rem;
}

.g4ae-nav-item:hover {
    background: rgba(255, 69, 0, 0.1);
}

.g4ae-nav-item.active {
    color: var(--g4ae-primary);
}

.g4ae-nav-item .material-icons,
.g4ae-nav-item ion-icon,
.g4ae-nav-item i {
    font-size: 24px;
    margin-bottom: 2px;
}

.g4ae-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* H1 Title */
.g4ae-h1-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    padding: 1.5rem 1rem;
    line-height: 1.4;
    background: linear-gradient(135deg, var(--g4ae-primary), var(--g4ae-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* List Styles */
.g4ae-list {
    list-style: none;
    padding: 0;
}

.g4ae-list li {
    padding: 1rem;
    border-bottom: 1px solid var(--g4ae-border);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.g4ae-list li:last-child {
    border-bottom: none;
}

.g4ae-list-icon {
    color: var(--g4ae-primary);
    font-size: 1.6rem;
    flex-shrink: 0;
}

/* FAQ Accordion */
.g4ae-faq-item {
    background: var(--g4ae-bg-light);
    border-radius: 0.8rem;
    margin-bottom: 0.8rem;
    overflow: hidden;
    border: 1px solid var(--g4ae-border);
}

.g4ae-faq-question {
    padding: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.g4ae-faq-answer {
    padding: 0 1.2rem 1.2rem;
    color: var(--g4ae-text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Achievements */
.g4ae-achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--g4ae-bg-light);
    border-radius: 0.8rem;
    margin-bottom: 0.8rem;
    border: 1px solid var(--g4ae-border);
}

.g4ae-achievement-icon {
    width: 50px;
    height: 50px;
    background: var(--g4ae-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.g4ae-achievement-text h4 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.g4ae-achievement-text p {
    font-size: 1.1rem;
    color: var(--g4ae-text-muted);
}

/* Tricks Component */
.g4ae-trick {
    background: linear-gradient(135deg, var(--g4ae-bg-light), rgba(255, 69, 0, 0.1));
    padding: 1.2rem;
    border-radius: 0.8rem;
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--g4ae-primary);
}

.g4ae-trick-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--g4ae-primary);
}

.g4ae-trick-desc {
    font-size: 1.2rem;
    color: var(--g4ae-text-muted);
    line-height: 1.5;
}
