/* Responsible Gaming Specific Styles */
.emergency-strip {
    background: #dc2626;
    color: white;
    padding: 12px 0;
    text-align: center;
    font-weight: 500;
    border-bottom: 2px solid #b91c1c;
}

.emergency-content a {
    color: #fecaca;
    font-weight: 600;
    margin: 0 8px;
}

.emergency-content a:hover {
    color: white;
    text-decoration: underline;
}

.rg-hero {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.rg-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.rg-hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: white;
}

.quick-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.quick-help-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-help-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 600;
}

.quick-help-card p {
    color: #fef2f2;
    margin-bottom: 20px;
    font-size: 14px;
}

.quick-help-card .btn-primary,
.quick-help-card .btn-secondary,
.quick-help-card .btn-outline {
    color: #dc2626;
    background: white;
    border-color: white;
}

.quick-help-card .btn-primary:hover,
.quick-help-card .btn-secondary:hover,
.quick-help-card .btn-outline:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

/* Self-Assessment Section */
.self-assessment-section {
    padding: 80px 0;
    background: #f8fafc;
}

.self-assessment-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111827;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.quiz-question {
    margin-bottom: 30px;
}

.quiz-question h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #111827;
    font-weight: 600;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.quiz-option input[type="radio"] {
    margin-right: 12px;
}

.quiz-option.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.quiz-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.quiz-progress {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 20px;
}

.quiz-results {
    text-align: center;
    padding: 40px;
}

.result-score {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.result-score.low { color: #10b981; }
.result-score.medium { color: #f59e0b; }
.result-score.high { color: #ef4444; }

.result-interpretation {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.quiz-disclaimer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

/* Prevention Tools */
.prevention-tools-section {
    padding: 80px 0;
    background: white;
}

.prevention-tools-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111827;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tool-card {
    background: #4b5563;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease;
    color: white;
}

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

.tool-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
}

.tool-card > p {
    color: #e5e7eb;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tool-tips {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.tool-tips h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #111827;
    font-weight: 600;
}

.tool-tips ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tool-tips li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
}

.tool-tips li::before {
    content: '•';
    color: #3b82f6;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Support Organizations */
.support-section {
    padding: 80px 0;
    background: #f8fafc;
}

.support-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111827;
}

.support-grid {
    display: grid;
    gap: 40px;
    margin-top: 50px;
}

.support-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    align-items: start;
}

.support-logo {
    text-align: center;
}

.support-logo img {
    max-width: 120px;
    height: auto;
    border-radius: 8px;
}

.support-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #111827;
    font-weight: 700;
}

.support-content > p {
    color: #374151;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: 25px;
}

.contact-item {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.contact-item strong {
    color: #111827;
}

.contact-item a {
    color: #1e40af;
    font-weight: 600;
}

.contact-hours {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px;
}

.support-services h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #111827;
    font-weight: 600;
}

.support-services ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.support-services li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #1f2937;
    font-size: 14px;
}

.support-services li::before {
    content: '✓';
    color: #10b981;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Color coding for organizations */
.support-card.gamcare {
    border-left: 4px solid #dc2626;
}

.support-card.gambleaware {
    border-left: 4px solid #059669;
}

.support-card.gordon-moody {
    border-left: 4px solid #1e40af;
}

.additional-resources {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e5e7eb;
}

.additional-resources h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: #111827;
    font-weight: 700;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.resource-item {
    text-align: center;
    padding: 25px;
    background: #4b5563;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    color: white;
}

.resource-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
}

.resource-item p {
    color: #e5e7eb;
    font-size: 14px;
    margin-bottom: 15px;
}

.resource-item a {
    color: #93c5fd;
    font-weight: 600;
    font-size: 14px;
}

/* Warning Signs */
.warning-signs-section {
    padding: 80px 0;
    background: white;
}

.warning-signs-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111827;
}

.warning-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.warning-category {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 30px;
}

.warning-category h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #78350f;
    font-weight: 700;
}

.warning-category ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.warning-category li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #451a03;
    line-height: 1.5;
    font-weight: 500;
}

.warning-category li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    font-size: 14px;
}

.action-callout {
    margin-top: 60px;
    padding: 40px;
    background: #fee2e2;
    border: 2px solid #f87171;
    border-radius: 16px;
    text-align: center;
}

.action-callout h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #b91c1c;
    font-weight: 700;
}

.action-callout p {
    font-size: 18px;
    color: #991b1b;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Safer Gambling Guidelines */
.safer-gambling-section {
    padding: 80px 0;
    background: #f8fafc;
}

.safer-gambling-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111827;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.guideline-category {
    padding: 30px;
    border-radius: 12px;
}

.guideline-category:first-child {
    background: #ecfdf5;
    border: 1px solid #10b981;
}

.guideline-category:last-child {
    background: #fef2f2;
    border: 1px solid #ef4444;
}

.guideline-category h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.guideline-category:first-child h3 {
    color: #064e3b;
}

.guideline-category:last-child h3 {
    color: #991b1b;
}

.do-list, .dont-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.do-list li, .dont-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    line-height: 1.5;
}

.do-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    font-size: 16px;
}

.dont-list li::before {
    content: '❌';
    position: absolute;
    left: 0;
    font-size: 16px;
}

.do-list li {
    color: #064e3b;
    font-weight: 500;
}

.dont-list li {
    color: #991b1b;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rg-hero h1 {
        font-size: 32px;
    }
    
    .rg-hero-subtitle {
        font-size: 16px;
    }
    
    .quick-help-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .support-card {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .warning-categories {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .guidelines-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .emergency-strip {
        font-size: 14px;
        padding: 10px;
        text-align: left;
    }
    
    .emergency-content {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .quiz-container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .support-card {
        padding: 25px;
    }
    
    .tool-card {
        padding: 20px;
    }
    
    .warning-category {
        padding: 20px;
    }
    
    .action-callout {
        padding: 25px;
        margin: 40px 10px 0;
    }
}