/*
Theme Name: PickTenGames
Theme URI: https://picktengames.com
Author: PickTenGames Team
Author URI: https://picktengames.com
Description: A vibrant social casino WordPress theme with energetic purple and orange design, explosive gaming visuals, and an exciting entertainment atmosphere.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: picktengames
*/

/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* PickTenGames Color Palette */
    --primary-purple: #a855f7;
    --primary-magenta: #e935c1;
    --primary-orange: #f97316;
    --bright-orange: #ff6b35;
    --electric-purple: #8b5cf6;
    --golden-yellow: #fbbf24;
    --deep-purple: #5b21b6;
    --dark-navy: #1e3a8a;

    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --medium-gray: #6b7280;
    --dark-gray: #1f2937;
    --black: #1a1a2e;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #8b5cf6 0%, #f97316 100%);
    --gradient-purple-orange: linear-gradient(135deg, #a855f7 0%, #fb923c 100%);
    --gradient-orange-yellow: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    --gradient-magenta-purple: linear-gradient(135deg, #e935c1 0%, #a855f7 100%);

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(77, 212, 255, 0.3);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

h1 { font-size: 48px; }
h2 { font-size: 40px; }
h3 { font-size: 32px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

a {
    text-decoration: none;
    color: var(--primary-purple);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-magenta);
}

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

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 70px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--golden-yellow);
}

.header-cta {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--electric-purple);
}

.btn-primary {
    background: var(--gradient-purple-orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.5);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 77, 92, 0.8) 0%, rgba(74, 20, 140, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--golden-yellow);
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px 40px;
    font-size: 18px;
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 15px;
    background: var(--gradient-purple-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 18px;
    color: var(--medium-gray);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: var(--light-gray);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--electric-purple);
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ===== GAMES SECTION ===== */
.games-section {
    background: var(--white);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.games-grid .game-card:nth-child(4) {
    grid-column: 2;
}

.game-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

.game-info {
    padding: 20px;
    text-align: center;
}

.game-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--electric-purple);
}

.game-card .btn {
    width: 100%;
}

/* ===== FEATURED GAME SECTION ===== */
.featured-game-section {
    background: var(--gradient-hero);
    color: var(--white);
}

.featured-game-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.featured-game-image {
    width: 100%;
    height: auto;
}

.featured-game-info {
    padding: 40px;
    text-align: center;
}

.featured-game-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.featured-game-info p {
    color: var(--medium-gray);
    margin-bottom: 30px;
}

/* ===== LEADERBOARD SECTION ===== */
.leaderboard-section {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: var(--white);
}

.leaderboard-section .section-title h2 {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.leaderboard-section .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.leaderboard-container {
    max-width: 700px;
    margin: 0 auto;
}

.leaderboard-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

.leaderboard-rank {
    background: var(--white);
    color: #f97316;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    min-width: 100px;
}

.leaderboard-player {
    flex: 1;
    margin-left: 20px;
    font-weight: 600;
    font-size: 18px;
}

.leaderboard-score {
    font-weight: 700;
    font-size: 22px;
    color: #fbbf24;
}

/* ===== STEPS SECTION ===== */
.steps-section {
    background: var(--gradient-hero);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.steps-section .section-title h2,
.steps-section .section-title p {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    text-align: center;
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 20px;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--golden-yellow);
}

.step-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.steps-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 400px;
    opacity: 0.1;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: url('../images/testimonial-bg.webp') center/cover;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 77, 92, 0.85);
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-section .section-title h2,
.testimonials-section .section-title p {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    color: var(--white);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-teal-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
}

.testimonial-name {
    font-weight: 600;
    color: var(--golden-yellow);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: url('../images/cta-bg.webp') center/cover;
    position: relative;
    color: var(--white);
    padding: 100px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 145, 178, 0.75);
}

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

.cta-content h2 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
}

.cta-decoration {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    opacity: 0.3;
}

/* ===== AGE RESTRICTION SECTION ===== */
.age-restriction-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: var(--white);
    padding: 60px 0;
}

.age-restriction-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.age-restriction-content h3 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 15px;
}

.age-restriction-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--aurora-blue);
}

.footer-column p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.responsible-gaming-logos {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.responsible-gaming-logos img {
    height: 50px;
    width: auto;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== PAGE TEMPLATES ===== */
.page-header {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.page-content {
    padding: 80px 0;
    max-width: 900px;
    margin: 0 auto;
}

.content-section {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.content-section h2 {
    color: var(--electric-purple);
    margin-bottom: 20px;
}

.content-section h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    margin-top: 25px;
}

.content-section ul, .content-section ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.highlight-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 25px;
    border-radius: var(--radius-md);
    border-left: 4px solid #f59e0b;
    margin: 25px 0;
}

.highlight-box h4 {
    color: #b45309;
    margin-bottom: 10px;
}

.highlight-box p {
    color: #78350f;
    margin-bottom: 0;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    color: var(--primary-purple);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item p {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ===== GAME PAGE ===== */
.game-page-header {
    background: var(--gradient-hero);
    padding: 100px 0 40px;
    text-align: center;
    color: var(--white);
}

.game-page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.game-page-header .btn {
    margin-top: 20px;
}

.game-iframe-container {
    padding: 40px 0;
    background: var(--light-gray);
}

.game-iframe-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.game-iframe-wrapper iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    display: block;
}

/* ===== FORM SUCCESS MESSAGE ===== */
.form-message {
    display: none;
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.spinner {
    display: none;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--primary-purple);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .main-nav {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .features-grid,
    .games-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .games-grid .game-card:nth-child(4) {
        grid-column: 1;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
    }

    .leaderboard-player {
        font-size: 16px;
    }

    .leaderboard-score {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .cta-content h2 {
        font-size: 32px;
    }
}
