/* Responsible Gaming Page Styles */

.responsible-gaming-page {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    min-height: 100vh;
}

.rg-hero {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 4rem;
    border-radius: 0 0 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.rg-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="safety-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10,2 L18,10 L10,18 L2,10 Z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23safety-pattern)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.rg-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.emergency-notice {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.emergency-notice h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.emergency-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.emergency-contact {
    background: white;
    color: #dc2626;
    text-decoration: none;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.emergency-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-service {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-time {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.rg-section {
    background: white;
    border-radius: 1.5rem;
    padding: 4rem 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.rg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #b91c1c);
}

.rg-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 2rem;
    text-align: center;
}

.rg-section > p {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.risk-awareness {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.risk-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 1rem;
    padding: 2rem;
    border-left: 4px solid #dc2626;
    transition: transform 0.3s ease;
}

.risk-item:hover {
    transform: translateX(10px);
}

.risk-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.risk-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 1rem;
}

.risk-item p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0;
}

.warning-signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.warning-category {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    border-radius: 1rem;
    padding: 2rem;
    border-top: 4px solid #ea580c;
}

.warning-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ea580c;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.warning-category li {
    padding: 0.75rem 0;
    color: var(--muted-foreground);
    border-bottom: 1px solid rgba(234, 88, 12, 0.2);
    position: relative;
    padding-left: 2rem;
    line-height: 1.5;
}

.warning-category li:before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 0.75rem;
    font-size: 0.9rem;
}

.warning-category li:last-child {
    border-bottom: none;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #10b981;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #10b981;
}

.tool-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #047857;
    margin-bottom: 1rem;
}

.tool-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tool-tips {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 0.9rem;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.tool-tips strong {
    color: #047857;
}

.limit-guidelines {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.guideline-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    padding: 2.5rem;
    border-top: 4px solid #3b82f6;
}

.guideline-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.guideline-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guideline-item li {
    padding: 1rem 0;
    color: var(--muted-foreground);
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
}

.guideline-item li:before {
    content: '💡';
    position: absolute;
    left: 0;
    top: 1rem;
}

.guideline-item li:last-child {
    border-bottom: none;
}

.guideline-item strong {
    color: #3b82f6;
    font-weight: 600;
}

.limit-calculator {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-top: 3rem;
    border: 2px solid #f59e0b;
}

.limit-calculator h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 1rem;
    text-align: center;
}

.limit-calculator p {
    color: #92400e;
    margin-bottom: 2rem;
    text-align: center;
}

.calculator-example {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.calculator-example p {
    font-weight: 600;
    color: #92400e;
    margin-bottom: 1rem;
}

.calculator-example ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.calculator-example li {
    padding: 0.5rem 0;
    color: var(--muted-foreground);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calculator-example li:last-child {
    border-bottom: none;
}

.support-organizations {
    display: grid;
    gap: 2rem;
}

.org-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 1rem;
    padding: 2.5rem;
    border: 2px solid #0ea5e9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.org-card.featured {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #3b82f6;
    border-width: 3px;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.org-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.org-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.org-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0369a1;
    margin-bottom: 0.25rem;
}

.org-type {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.org-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-btn {
    background: white;
    color: #0369a1;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #0ea5e9;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contact-btn:hover {
    background: #0ea5e9;
    color: white;
    transform: translateY(-2px);
}

.contact-btn.primary {
    background: #0ea5e9;
    color: white;
    font-weight: 600;
}

.contact-btn.primary:hover {
    background: #0284c7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rg-hero {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
    
    .rg-hero h1 {
        font-size: 2.5rem;
    }
    
    .emergency-notice {
        padding: 2rem;
    }
    
    .emergency-contacts {
        grid-template-columns: 1fr;
    }
    
    .rg-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .risk-awareness,
    .warning-signs-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .limit-guidelines {
        grid-template-columns: 1fr;
    }
    
    .risk-item {
        flex-direction: column;
        text-align: center;
    }
    
    .org-header {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-methods {
        justify-content: center;
    }
}