/* IowaNursingJobs.com - Unique Tech-Style CSS */

:root {
    --primary-color: #00ff88;
    --secondary-color: #8b5cf6;
    --accent-color: #a855f7;
    --dark-bg: #0a0e1a;
    --darker-bg: #050810;
    --card-bg: #151a28;
    --text-light: #e8f5e9;
    --text-muted: #81c784;
    --success-color: #00ff88;
    --danger-color: #ff4444;
    --border-color: #1a2332;
    --glow-color: rgba(0, 255, 136, 0.4);
    --header-height: 70px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

* {
    box-sizing: border-box;
    max-width: 100%;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin: 0 0 var(--spacing-lg) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Benefits Section */
.benefits-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: linear-gradient(135deg, var(--card-bg), rgba(21, 26, 40, 0.8));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--primary-color);
}

.benefit-card p {
    color: var(--text-muted);
    margin: 0;
}

/* Games Section */
.games-section {
    padding: var(--spacing-xl) 0;
    background: var(--dark-bg);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.game-card {
    background: linear-gradient(135deg, var(--card-bg), rgba(21, 26, 40, 0.9));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(0, 255, 136, 0.3);
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.game-info {
    padding: var(--spacing-md);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.game-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.game-description {
    color: var(--text-muted);
    margin: 0 0 var(--spacing-md) 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.game-play-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), #00cc6a);
    color: var(--darker-bg);
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.game-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: var(--spacing-md);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    margin: 0;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: var(--dark-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: linear-gradient(135deg, var(--card-bg), rgba(21, 26, 40, 0.8));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: var(--spacing-md);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-rating {
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.testimonial-card p {
    color: var(--text-light);
    margin: 0 0 var(--spacing-sm) 0;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Leaderboard Section */
.leaderboard-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.leaderboard-card {
    background: linear-gradient(135deg, var(--card-bg), rgba(21, 26, 40, 0.8));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all 0.3s ease;
}

.leaderboard-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.leaderboard-rank {
    font-size: 2.5rem;
}

.leaderboard-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-light);
    font-size: 1.2rem;
}

.leaderboard-info p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.disclaimer-content {
    text-align: center;
}

.disclaimer-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 var(--spacing-md) 0;
}

.disclaimer-content p {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 1rem;
    line-height: 1.8;
}

.disclaimer-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.disclaimer-badges .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin: 0 0 var(--spacing-sm) 0;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.8;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.compliance-logos {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.age-section {
    margin-bottom: var(--spacing-sm);
}

.age-restriction {
    display: inline-block;
    background: var(--primary-color);
    color: var(--darker-bg);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
}

.compliance-logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.compliance-logo {
    height: 40px !important;
    width: auto !important;
    max-width: 150px !important;
    background: #ffffff !important;
    padding: 10px 12px !important;
    border-radius: 10px;
    opacity: 1 !important;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 255, 136, 0.3) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1) contrast(1.1);
}

.compliance-logo:hover {
    opacity: 1 !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2);
}

/* SVG логотипи - додаткова підсвітка */
.compliance-logo[src$=".svg"] {
    padding: 12px !important;
    filter: brightness(1.2) contrast(1.3);
}

/* Gambling Therapy - білий текст, потребує темного фону */
.compliance-logo[src*="gambling-therapy"] {
    background: #1a1a2e !important;
    padding: 12px !important;
    border: 2px solid rgba(0, 255, 136, 0.5) !important;
    filter: brightness(1.1) contrast(1.2);
}

.compliance-logo[src*="gambling-therapy"]:hover {
    background: #2a2a3e !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
}

/* Інші SVG логотипи - білий фон */
.compliance-logo[src$=".svg"]:not([src*="gambling-therapy"]) {
    background: #ffffff !important;
}

/* Check dein Spiel - темний текст, білий фон */
.compliance-logo[src*="check-dein-spiel"] {
    background: #ffffff !important;
    padding: 12px !important;
}

/* PNG логотипи - покращена видимість */
.compliance-logo[src$=".png"] {
    background: #ffffff !important;
    padding: 10px !important;
    filter: brightness(1.1) contrast(1.2);
}

.help-resources p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Popups */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 8, 16, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.popup-content {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: var(--spacing-lg);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
}

.popup-content h2 {
    color: var(--primary-color);
    margin: 0 0 var(--spacing-md) 0;
}

.popup-content p {
    color: var(--text-light);
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.8;
}

.popup-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(21, 26, 40, 0.95) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: var(--spacing-md);
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-banner p {
    color: var(--text-light);
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.cookie-buttons .btn-primary,
.cookie-buttons .btn-secondary {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .benefits-grid,
    .games-grid,
    .testimonials-grid,
    .leaderboard-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .compliance-logos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (min-width: 900px) {
    .benefits-grid,
    .games-grid,
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Blog Styles */
.blog-filters-section {
    padding: var(--spacing-lg) 0;
    background: var(--darker-bg);
    border-bottom: 1px solid var(--border-color);
}

.blog-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #00cc6a);
    border-color: var(--primary-color);
    color: var(--darker-bg);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.article-card {
    background: linear-gradient(135deg, var(--card-bg), rgba(21, 26, 40, 0.8));
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.article-content {
    padding: var(--spacing-md);
}

.article-category {
    display: inline-block;
    background: rgba(0, 255, 136, 0.2);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.article-card h3 {
    color: var(--text-light);
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 1.3rem;
}

.article-card p {
    color: var(--text-muted);
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.6;
}

.article-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.article-link:hover {
    color: var(--secondary-color);
}

.article-card.hidden {
    display: none;
}

/* Guides Styles */
.guides-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.guide-card {
    background: linear-gradient(135deg, var(--card-bg), rgba(21, 26, 40, 0.8));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.guide-card h2 {
    color: var(--primary-color);
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 1.5rem;
}

.guide-card p {
    color: var(--text-muted);
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.8;
}

/* Reviews Styles */
.reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.review-card {
    background: linear-gradient(135deg, var(--card-bg), rgba(21, 26, 40, 0.8));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
}

.review-header h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
}

.review-rating {
    color: var(--primary-color);
    font-weight: 600;
}

.review-content p {
    color: var(--text-muted);
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.8;
}

.review-content strong {
    color: var(--text-light);
}

.review-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.review-link:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .blog-filters {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

    .blog-grid,
    .guides-list,
    .reviews-list {
        grid-template-columns: 1fr;
    }
}

