/**
 * Casin Gaming Platform - Theme Styles
 * Version: 1.0.0
 * Prefix: g720-
 */

/* CSS Variables */
:root {
    --g720-primary: #0097A7;
    --g720-secondary: #004D40;
    --g720-accent: #E91E63;
    --g720-success: #80CBC4;
    --g720-dark: #0C0C0C;
    --g720-gray: #6C757D;
    --g720-white: #FFFFFF;
    --g720-light-bg: #1a1a1a;
    --g720-card-bg: #141414;
    --g720-text-primary: #FFFFFF;
    --g720-text-secondary: #80CBC4;
    --g720-text-muted: #6C757D;
    --g720-border: #2a2a2a;
    --g720-gradient: linear-gradient(135deg, #004D40 0%, #0097A7 100%);
    --g720-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --g720-radius: 8px;
    --g720-radius-lg: 12px;
    --g720-transition: all 0.3s ease;
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--g720-dark);
    color: var(--g720-text-primary);
    line-height: 1.5rem;
    min-height: 100vh;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--g720-accent);
}

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

/* Container */
.g720-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.g720-wrapper {
    padding: 1.6rem 0;
}

/* Header */
.g720-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--g720-dark) 0%, rgba(12, 12, 12, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--g720-border);
    padding: 1.2rem 0;
}

.g720-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.g720-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g720-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.g720-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g720-text-primary);
    background: var(--g720-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.g720-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g720-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: var(--g720-radius);
    border: none;
    cursor: pointer;
    transition: var(--g720-transition);
    min-height: 44px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.g720-btn-primary {
    background: var(--g720-gradient);
    color: var(--g720-white);
}

.g720-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 151, 167, 0.4);
}

.g720-btn-secondary {
    background: transparent;
    color: var(--g720-primary);
    border: 2px solid var(--g720-primary);
}

.g720-btn-secondary:hover {
    background: var(--g720-primary);
    color: var(--g720-white);
}

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

.g720-btn-accent:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

/* Menu Toggle */
.g720-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.g720-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--g720-text-primary);
    border-radius: 2px;
    transition: var(--g720-transition);
}

/* Mobile Menu */
.g720-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--g720-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
    border-left: 1px solid var(--g720-border);
}

.g720-menu-active {
    right: 0;
}

.g720-mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.g720-mobile-menu a {
    display: block;
    padding: 1.2rem 1.6rem;
    color: var(--g720-text-primary);
    font-size: 1.5rem;
    border-radius: var(--g720-radius);
    transition: var(--g720-transition);
}

.g720-mobile-menu a:hover {
    background: var(--g720-light-bg);
    color: var(--g720-primary);
}

.g720-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--g720-transition);
}

.g720-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.g720-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--g720-radius-lg);
    margin-bottom: 2rem;
}

.g720-slides {
    position: relative;
    height: 200px;
}

.g720-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.g720-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--g720-radius-lg);
}

.g720-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.g720-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--g720-transition);
}

.g720-dot-active {
    background: var(--g720-accent);
    transform: scale(1.2);
}

/* Section Styles */
.g720-section {
    padding: 2rem 0;
}

.g720-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--g720-text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g720-section-title i {
    color: var(--g720-accent);
}

/* Game Grid */
.g720-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.g720-game-card {
    background: var(--g720-card-bg);
    border-radius: var(--g720-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--g720-transition);
    border: 1px solid var(--g720-border);
}

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

.g720-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.g720-game-card .g720-game-name {
    padding: 0.8rem;
    font-size: 1.1rem;
    color: var(--g720-text-primary);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Title */
.g720-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--g720-text-secondary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--g720-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g720-category-title i {
    color: var(--g720-accent);
}

/* Content Blocks */
.g720-content-block {
    background: var(--g720-card-bg);
    border-radius: var(--g720-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--g720-border);
}

.g720-content-block h2,
.g720-content-block h3 {
    color: var(--g720-text-primary);
    margin-bottom: 1rem;
}

.g720-content-block h2 {
    font-size: 1.8rem;
}

.g720-content-block h3 {
    font-size: 1.5rem;
}

.g720-content-block p {
    color: var(--g720-text-muted);
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.g720-content-block ul {
    list-style: none;
    padding: 0;
}

.g720-content-block li {
    padding: 0.8rem 0;
    color: var(--g720-text-muted);
    font-size: 1.3rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.g720-content-block li i {
    color: var(--g720-success);
    margin-top: 0.2rem;
}

/* Features Grid */
.g720-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.g720-feature-item {
    background: var(--g720-light-bg);
    border-radius: var(--g720-radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--g720-border);
}

.g720-feature-item i {
    font-size: 2.4rem;
    color: var(--g720-primary);
    margin-bottom: 1rem;
}

.g720-feature-item h4 {
    font-size: 1.4rem;
    color: var(--g720-text-primary);
    margin-bottom: 0.5rem;
}

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

/* Testimonials */
.g720-testimonials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.g720-testimonial {
    background: var(--g720-light-bg);
    border-radius: var(--g720-radius);
    padding: 1.5rem;
    border-left: 4px solid var(--g720-accent);
}

.g720-testimonial p {
    color: var(--g720-text-muted);
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.g720-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g720-testimonial-author strong {
    color: var(--g720-text-primary);
    font-size: 1.3rem;
}

.g720-testimonial-author span {
    color: var(--g720-primary);
    font-size: 1.2rem;
}

/* Payment Methods */
.g720-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.g720-payment-item {
    background: var(--g720-light-bg);
    border-radius: var(--g720-radius);
    padding: 1rem 1.5rem;
    border: 1px solid var(--g720-border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g720-payment-item i {
    font-size: 2rem;
    color: var(--g720-success);
}

.g720-payment-item span {
    font-size: 1.3rem;
    color: var(--g720-text-primary);
}

/* Stats Grid */
.g720-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.g720-stat-item {
    background: var(--g720-gradient);
    border-radius: var(--g720-radius);
    padding: 1.5rem;
    text-align: center;
}

.g720-stat-item .g720-stat-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--g720-white);
}

.g720-stat-item .g720-stat-label {
    font-size: 1.2rem;
    color: var(--g720-success);
    margin-top: 0.5rem;
}

/* CTA Section */
.g720-cta {
    background: var(--g720-gradient);
    border-radius: var(--g720-radius-lg);
    padding: 2.5rem;
    text-align: center;
    margin: 2rem 0;
}

.g720-cta h3 {
    font-size: 2rem;
    color: var(--g720-white);
    margin-bottom: 1rem;
}

.g720-cta p {
    font-size: 1.4rem;
    color: var(--g720-success);
    margin-bottom: 1.5rem;
}

/* Footer */
.g720-footer {
    background: var(--g720-card-bg);
    border-top: 1px solid var(--g720-border);
    padding: 3rem 0 2rem;
    margin-top: 2rem;
}

.g720-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.g720-footer-brand p {
    color: var(--g720-text-muted);
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 350px;
    margin: 1rem auto 0;
}

.g720-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.g720-footer-links a {
    background: var(--g720-light-bg);
    padding: 0.8rem 1.5rem;
    border-radius: var(--g720-radius);
    color: var(--g720-text-primary);
    font-size: 1.2rem;
    border: 1px solid var(--g720-border);
}

.g720-footer-links a:hover {
    background: var(--g720-primary);
    border-color: var(--g720-primary);
}

.g720-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--g720-border);
}

.g720-footer-nav a {
    color: var(--g720-text-muted);
    font-size: 1.3rem;
}

.g720-footer-nav a:hover {
    color: var(--g720-primary);
}

.g720-footer-copyright {
    text-align: center;
    color: var(--g720-text-muted);
    font-size: 1.2rem;
}

/* Bottom Navigation */
.g720-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--g720-dark);
    border-top: 1px solid var(--g720-border);
    display: flex;
    justify-content: space-around;
    padding: 0.8rem 0;
    height: 64px;
}

.g720-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 48px;
    color: var(--g720-text-muted);
    cursor: pointer;
    transition: var(--g720-transition);
    text-decoration: none;
    border-radius: var(--g720-radius);
    padding: 0.5rem;
}

.g720-bottom-nav-item:hover,
.g720-bottom-nav-item.active {
    color: var(--g720-accent);
    background: rgba(233, 30, 99, 0.1);
}

.g720-bottom-nav-item i {
    font-size: 22px;
    margin-bottom: 0.3rem;
}

.g720-bottom-nav-item span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .g720-bottom-nav {
        display: none;
    }
}

/* Promotional Links */
.g720-promo-text {
    color: var(--g720-accent);
    font-weight: 600;
    cursor: pointer;
    transition: var(--g720-transition);
}

.g720-promo-text:hover {
    color: var(--g720-primary);
    text-decoration: underline;
}

/* Winners Showcase */
.g720-winners-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.g720-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--g720-light-bg);
    padding: 1rem 1.5rem;
    border-radius: var(--g720-radius);
    border: 1px solid var(--g720-border);
}

.g720-winner-item .g720-winner-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g720-winner-item .g720-winner-game {
    color: var(--g720-text-primary);
    font-size: 1.3rem;
}

.g720-winner-item .g720-winner-amount {
    color: var(--g720-accent);
    font-weight: 700;
    font-size: 1.4rem;
}

/* Tricks/Tips List */
.g720-tricks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.g720-trick-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--g720-light-bg);
    border-radius: var(--g720-radius);
    border-left: 3px solid var(--g720-primary);
}

.g720-trick-item i {
    color: var(--g720-success);
    font-size: 1.6rem;
    margin-top: 0.2rem;
}

.g720-trick-item p {
    color: var(--g720-text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Responsive Utilities */
@media (max-width: 430px) {
    .g720-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .g720-features-grid {
        grid-template-columns: 1fr;
    }

    .g720-section-title {
        font-size: 1.8rem;
    }
}

/* Animation */
@keyframes g720-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.g720-animate {
    animation: g720-fadeIn 0.5s ease forwards;
}

/* Internal Links */
.g720-internal-link {
    color: var(--g720-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.g720-internal-link:hover {
    color: var(--g720-accent);
}
