/**
 * Fantasy Radar Network - Custom CSS
 *
 * This file contains all custom styling for the Fantasy Radar Network theme.
 */

/* -------------------------------------------------------------
  1. Variables
------------------------------------------------------------- */
:root {
    /* Main Theme Colors */
    --primary-color: #ff6600; /* Orange */
    --secondary-color: #ff3333; /* Red */
    --accent-color: #ff9933; /* Light Orange */
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --text-light: #ffffff;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --header-gradient: linear-gradient(to right, rgba(255, 102, 0, 0.9), rgba(255, 51, 51, 0.9));
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Font Families */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Roboto', sans-serif;
}

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

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

h1 {
    font-size: 2.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

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

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.btn {
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

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

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

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

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

.section-title {
    position: relative;
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    margin: 15px auto 0;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* -------------------------------------------------------------
  3. Header Styles
------------------------------------------------------------- */
.site-header {
    position: relative;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: all 0.3s ease;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown 0.5s ease;
    background-color: rgba(255, 255, 255, 0.95);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.custom-logo-link {
    display: block;
    max-width: 200px;
}

.site-title {
    font-family: var(--heading-font);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    text-transform: uppercase;
}

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

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

.nav-menu li {
    position: relative;
    margin: 0 0.5rem;
}

.nav-menu a {
    display: block;
    padding: 1rem;
    color: var(--dark-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* -------------------------------------------------------------
  4. Hero Banner
------------------------------------------------------------- */
.hero-banner {
    position: relative;
    min-height: 500px;
    background-image: url('../gf9d9b37dcf1b289f7e837d82d846d888eb4c1cc1dbcbbb58e6188d63c2c5a2c876ba61e1362e34e039cdeb31c5aee622ca7621feb0962bee066e51562cacc346_1280.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) 0;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--header-gradient);
    opacity: 0.8;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 2;
}

.banner-description {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.hero-btn {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius-md);
    background-color: white;
    color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* -------------------------------------------------------------
  5. Email Form Section
------------------------------------------------------------- */
.email-form-section {
    background-color: white;
    padding: var(--spacing-lg) 0;
}

.email-form .input-group {
    max-width: 600px;
    margin: 0 auto;
}

.email-form input {
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    font-size: 1rem;
}

.email-form button {
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.email-form button:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.form-message {
    max-width: 600px;
    margin: var(--spacing-sm) auto 0;
}

/* -------------------------------------------------------------
  6. Features Section
------------------------------------------------------------- */
.features-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-color);
}

.feature-box {
    padding: var(--spacing-md);
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: #666;
    margin-bottom: 0;
}

/* -------------------------------------------------------------
  7. About Section
------------------------------------------------------------- */
.about-section {
    padding: var(--spacing-xl) 0;
}

.about-image img {
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.accordion-item {
    margin-bottom: 1rem;
    border: none;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    font-weight: 700;
    padding: 1.25rem;
    background-color: white;
    color: var(--dark-color);
}

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

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

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff6600'%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: 1.25rem;
    background-color: white;
}

/* -------------------------------------------------------------
  9. Disclaimer Section
------------------------------------------------------------- */
.disclaimer-section {
    background-color: var(--dark-color);
    color: white;
}

.disclaimer-box {
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
}

.age-symbol {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    font-weight: 900;
    text-align: center;
}

.disclaimer-text {
    font-size: 0.9rem;
}

/* -------------------------------------------------------------
  10. Footer Styles
------------------------------------------------------------- */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding-top: var(--spacing-lg);
}

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

.footer-widgets h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.footer-widgets ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widgets ul li {
    margin-bottom: 0.5rem;
}

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

.footer-widgets a:hover {
    color: white;
}

.footer-bottom {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.age-restriction-symbol {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    font-weight: 900;
    text-align: center;
}

/* -------------------------------------------------------------
  11. Point Systems Page
------------------------------------------------------------- */
.point-system-table-container {
    margin-bottom: var(--spacing-lg);
}

.point-system-table-container h3 {
    position: relative;
    padding-bottom: 10px;
}

.point-system-table-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
}

/* -------------------------------------------------------------
  12. How To Play Page
------------------------------------------------------------- */
.step-card {
    border-radius: var(--border-radius-md);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
}

.gameplay-section h3,
.app-features h2 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.gameplay-section h3::after,
.app-features h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
}

/* -------------------------------------------------------------
  13. Responsive Styles
------------------------------------------------------------- */
@media (max-width: 991px) {
    h1, .banner-title {
        font-size: 2.5rem;
    }
    
    h2, .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
    }
    
    .main-menu-container {
        position: fixed;
        top: 70px;
        right: -300px;
        width: 300px;
        height: calc(100vh - 70px);
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
        overflow-y: auto;
    }
    
    .main-menu-container.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: var(--spacing-md);
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    h1, .banner-title {
        font-size: 2rem;
    }
    
    h2, .section-title {
        font-size: 1.5rem;
    }
    
    .hero-banner {
        min-height: 400px;
        padding: var(--spacing-lg) 0;
    }
    
    .banner-description {
        font-size: 1.1rem;
    }
    
    .feature-box {
        margin-bottom: var(--spacing-md);
    }
    
    .about-image {
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    h1, .banner-title {
        font-size: 1.8rem;
    }
    
    .hero-banner {
        min-height: 350px;
    }
    
    .email-form input,
    .email-form button {
        width: 100%;
        border-radius: var(--border-radius-sm);
    }
    
    .email-form .input-group {
        flex-direction: column;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
}

/* -------------------------------------------------------------
  14. Animations
------------------------------------------------------------- */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-element {
    animation: fadeIn 0.6s ease forwards;
}

/* -------------------------------------------------------------
  15. Utility Classes
------------------------------------------------------------- */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.rounded-custom {
    border-radius: var(--border-radius-md);
}

.shadow-custom {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gradient-bg {
    background: var(--primary-gradient);
}

.opacity-75 {
    opacity: 0.75;
}

.z-index-1 {
    position: relative;
    z-index: 1;
}

/* -------------------------------------------------------------
  16. WordPress Core Styles
------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.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: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
