/* Complete styles.css */

/* =========================================
   Variables & Root Settings
   ========================================= */
:root {
    --primary-color: #002147;
    --secondary-color: #003366;
    --accent-color: gold;
    --text-color: #333;
    --background-color: #f5f5f0;
    --error-color: #ff4444;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --box-shadow-large: 0 4px 8px rgba(0, 0, 0, 0.2);
    --transition-speed: 0.3s;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }

/* =========================================
   Layout & Container
   ========================================= */
main {
    width: 80%;
    max-width: 1200px;
    min-width: 320px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    flex: 1;
}

/* =========================================
   Header & Navigation
   ========================================= */
#main-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    box-shadow: var(--box-shadow);
}

#main-header h1 {
    text-align: center;
    margin: 0;
    padding: 1rem 0;
    color: white;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

nav {
    margin: 1rem 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color var(--transition-speed);
    display: block;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    min-width: 200px;
    box-shadow: var(--box-shadow-large);
    z-index: 1000;
    border-radius: 4px;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 0.75rem 1rem;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: var(--secondary-color);
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
}

/* =========================================
   Feature Cards with Flip Effect
   ========================================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.feature-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.feature-card:hover .feature-card-inner {
    transform: rotateY(180deg);
}

.feature-card-front,
.feature-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.feature-card-front {
    background: white;
}

.feature-card-back {
    background: white;
    transform: rotateY(180deg);
}

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

.feature-content {
    padding: 1.5rem;
}

.feature-back-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feature-card .feature-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card .feature-content ul li {
    margin-bottom: 0.5rem;
    padding: 0;
}

/* Ensure proper spacing in feature card content */
.feature-card .feature-content {
    padding: 1.5rem;
}

.feature-card-back .feature-content ul {
    text-align: center;
}

/* =========================================
   Strategy and Target Cards
   ========================================= */
.strategy-mode-card {
    position: relative;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.strategy-mode-card.active {
    border-color: var(--primary-color);
    background-color: rgba(0, 33, 71, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.strategy-card {
    position: relative;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.strategy-card.active {
    border-color: var(--primary-color);
    background-color: rgba(0, 33, 71, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.strategy-card.active::before {
    content: '✓';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
}

.strategy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Make sure checkboxes don't interfere with the display */
.strategy-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Visual indicator for active state */
.strategy-card.active::before {
    content: '✓';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
} /* Remove extra closing brace that was here */

/* Strategy header styles */
.strategy-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.emoji {
    font-size: 1.5rem;
}

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


/* =========================================
   FAQ Accordion
   ========================================= */
.faq-list {
    margin: 2rem 0;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease-out;
    background: white;
}

.faq-answer-content {
    padding: 1rem;
    margin-left: 20px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-toggle {
    transition: transform var(--transition-speed);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* =========================================
   News cards
   ========================================= */
.feature-card .feature-content h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
/*    height: 2.8em;  */
}

.feature-card .feature-content p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-card .feature-content small {
    font-size: 0.9rem;
    color: #666;
}

/* Back of card specific styles */
.feature-card-back .feature-content {
    padding: 1.4rem;
    height: 100%;
    overflow-y: auto;
}

.feature-card-back .feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.feature-card-back .feature-content p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    -webkit-line-clamp: 6;
}
.feature-card {
    min-height: 450px;
}

.feature-card-front, .feature-card-back {
    min-height: 450px;
}

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

.feature-content {
    padding: 15px;
}

.news-source {
    margin-top: 10px;
    margin-bottom: 10px;
}
.news-link.button {
    display: inline-block;
    margin-top: 1rem;
    padding: 8px 16px;
    background: var(--secondary-color);
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.news-link.button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-decoration: none !important;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

/* =========================================
   Content Sections
   ========================================= */
.content-section {
    margin: 1rem 0;
    padding: 1rem 2rem;
    background: white;
    border-radius: 8px;
/*    box-shadow: var(--box-shadow);*/
}

.info-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
    padding: 1rem;
}

.info-image {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

/* =========================================
   Breaking News Ticker
   ========================================= */
#breaking-news {
    background-color: darkred;
    color: white;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
}

/* =========================================
   Debt Counter
   ========================================= */
#debt-counter {
    background: linear-gradient(to right, #1a1a1a, #2d2d2d);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--box-shadow-large);
}

.debt-digit {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem;
    border-radius: 4px;
    margin: 0 2px;
    display: inline-block;
    min-width: 1.5ch;
    text-align: center;
}

/* =========================================
   Footer
   ========================================= */
#main-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
    margin-top: auto;
}

/* =========================================
   Utility Classes
   ========================================= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.p-1 { padding: 1rem; }

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1250px) {
    main {
        width: 95%;
    }
}

@media (max-width: 768px) {
    #main-header h1 {
        font-size: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: var(--secondary-color);
    }

    .hero-section {
        height: 300px;
    }
    
    .hero-content {
        padding: 1rem;
        width: 90%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        height: 350px;
    }

    main {
        width: 95%;
        margin: 1rem auto;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    #main-header h1 {
        font-size: 1.2rem;
    }

    main {
        width: 98%;
        margin: 0.5rem auto;
        padding: 0.75rem;
    }
}

/* =========================================
   Social Grid
   ========================================= */
.social-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* And media query for responsiveness */
@media (max-width: 1024px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .social-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   Back to Top
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}
        
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background: var(--accent-color);
        }

/* =========================================
   Print Styles
   ========================================= */
@media print {
    #main-header nav,
    #breaking-news,
    #debt-counter,
    #main-footer {
        display: none;
    }

    body {
        background: white;
    }

    main {
        margin: 0;
        padding: 0;
        box-shadow: none;
    }
}


/* Add this to your styles.css file to remove bullet points */

/* Target the specific lists in the faq-answer-content areas */
.faq-answer-content ul {
    list-style: none; /* Remove bullet points */
    padding-left: 0; /* Remove padding that's usually added for bullets */
}

.faq-answer-content ul li {
    margin-bottom: 0.8rem; /* Keep some spacing between items */
}

/* Target the disclaimer-section specifically */
.disclaimer-section ul,
.disclaimer-section li {
    list-style: none !important; /* Using !important to override any other styles */
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.disclaimer-section li {
    margin-bottom: 0.8rem; /* Keep some spacing between items */
}

/* Target all content sections but preserve specific list types that should keep bullets */
.content-section ul:not(.pro-tips):not(.raid-instructions),
.disclaimer-section ul:not(.pro-tips):not(.raid-instructions) {
    list-style: none; 
    padding-left: 0;
}

/* Make sure the emoji remains visible and appears like a bullet point replacement */
.faq-answer-content ul li strong,
.faq-answer-content ul li em,
.disclaimer-section li strong,
.disclaimer-section li em {
    display: inline; /* Ensure the text remains inline */
}

/* Ensure the specific section in the disclaimer page is properly targeted */
.disclaimer-section h3 + ul,
.disclaimer-section h3 + p + ul {
    list-style: none !important;
    padding-left: 0 !important;
}