/*
 * Main stylesheet for Joyful Stands theme
 */

:root {
    /* Main color scheme */
    --primary-color: #1a56db; /* Primary blue */
    --secondary-color: #3b82f6; /* Secondary blue */
    --accent-color: #60a5fa; /* Light blue accent */
    --light-color: #dbeafe; /* Very light blue */
    --dark-color: #1e3a8a; /* Dark blue */
    --text-color: #333333; /* Main text color */
    --text-light: #666666; /* Light text color */
    --body-bg: #f8fafc; /* Body background */
    --white: #ffffff;
    --black: #000000;
    
    /* Font families */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Roboto', sans-serif;
    
    /* Spacing */
    --section-spacing: 80px;
    --component-spacing: 40px;
}

/* Base Styles */
body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--body-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--dark-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}
#primary-menu ul{
    list-style-type: none;

    display: flex;
}
.btn {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-heading h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Header Styles */
.site-header {
    padding: 15px 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.sticky {
    padding: 10px 0;
}

.site-branding img {
    max-height: 60px;
    width: auto;
}

.main-navigation {
    justify-content: flex-end;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
    position: relative;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    display: block;
    font-family: var(--heading-font);
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 0;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.hero-cta {
    margin-top: 30px;
}

/* App Screenshots Section */
.app-screenshots {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.screenshot-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.5s ease;
}

.screenshot-item:hover {
    transform: perspective(1000px) rotateY(5deg);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.download-cta {
    margin-top: 50px;
}

/* Benefits Section */
.benefits-section {
    padding: var(--section-spacing) 0;
    background-color: var(--light-color);
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light-color);
    border-radius: 50%;
    padding: 15px;
}

.benefit-icon img {
    max-width: 100%;
    max-height: 100%;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.benefit-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* About Section */
.about-section {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.about-content h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Players Section */
.players-section {
    padding: var(--section-spacing) 0;
    background-color: var(--light-color);
}

.player-item {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.player-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.player-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.accordion-item {
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 25px;
    color: var(--primary-color);
    background-color: var(--white);
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--white);
    background-color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a56db'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 25px;
    background-color: var(--white);
}

.cta-container {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 50px;
}

.cta-container h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 50px 0;
    background-color: var(--light-color);
}

.joyfulstands-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.disclaimer-badge {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    margin-right: 20px;
}

.disclaimer-text {
    margin-bottom: 0;
    font-weight: 500;
}

/* Footer */
.site-footer {
    padding-top: 40px;
    background-color: var(--dark-color);
    color: var(--white);
}

.footer-disclaimer {
    margin-bottom: 40px;
}

.footer-disclaimer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.age-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    margin-right: 15px;
}

.footer-disclaimer-content p {
    margin-bottom: 0;
}

.footer-main {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    max-height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.footer-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu li {
    margin-left: 20px;
    margin-bottom: 10px;
}

.footer-menu li a {
    color: var(--white);
    font-weight: 400;
    transition: all 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--accent-color);
}

.site-info {
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

.site-info p {
    margin-bottom: 0;
}

/* Email Form */
.joyfulstands-email-form {
    max-width: 600px;
    margin: 0 auto;
}

.joyfulstands-email-form .form-control {
    height: 50px;
    border-radius: 8px 0 0 8px;
    border: 2px solid var(--light-color);
    font-size: 1rem;
}

.joyfulstands-email-form .form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}

.joyfulstands-email-form .btn {
    height: 50px;
    border-radius: 0 8px 8px 0;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

.joyfulstands-email-form .btn:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.joyfulstands-email-form .form-text {
    text-align: center;
    margin-top: 10px;
    color: var(--text-light);
}

.joyfulstands-email-form .error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Page Styles */
.page-header {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-title {
    position: relative;
    color: var(--white);
    text-align: center;
    margin-bottom: 15px;
}

.page-subtitle {
    position: relative;
    color: var(--white);
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.page-content {
    padding: var(--section-spacing) 0;
}

/* How to Play Page */
.how-to-play-content {
    line-height: 1.8;
}

.how-to-play-intro {
    margin-bottom: 50px;
}

.step-item {
    display: flex;
    margin-bottom: 50px;
}

.step-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-image {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.advanced-tips {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid var(--light-color);
}

.tip-item {
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--light-color);
    border-radius: 10px;
    height: 100%;
}

.tip-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Points System Page */
.points-system-content {
    line-height: 1.8;
}

.points-intro {
    margin-bottom: 50px;
}

.points-table {
    margin-bottom: 30px;
}

.points-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

.points-note {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 10px;
}

.strategy-tips {
    margin-top: 70px;
}

.strategy-tip {
    padding: 25px;
    background-color: var(--light-color);
    border-radius: 10px;
    height: 100%;
    margin-bottom: 30px;
}

.strategy-tip h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Privacy Policy & Terms Pages */
.privacy-content, .terms-content {
    line-height: 1.8;
}

.privacy-policy-content h2, .terms-conditions-content h2 {
    color: var(--primary-color);
    margin-top: 40px;
}

.privacy-policy-content h3, .terms-conditions-content h3 {
    margin-top: 30px;
}

.privacy-policy-content ul, .terms-conditions-content ul {
    margin-bottom: 20px;
}

/* Age Disclaimer Modal */
.age-disclaimer-modal .modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.age-disclaimer-modal .modal-header {
    background-color: var(--primary-color);
    color: var(--white);
    border-bottom: none;
}

.age-disclaimer-modal .modal-title {
    display: flex;
    align-items: center;
}

.age-disclaimer-modal .modal-title .age-badge {
    margin-right: 10px;
}

.age-disclaimer-modal .modal-footer {
    border-top: none;
    justify-content: center;
}

.age-disclaimer-modal .btn-primary {
    min-width: 150px;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--light-color);
    clip: auto !important;
    clip-path: none;
    color: var(--primary-color);
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
