* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f3f4f6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header {
    background: #1f2937;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.flame-icon {
    color: #f97316;
    font-size: 2rem;
    animation: flicker 2s infinite alternate;
}

@keyframes flicker {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #f97316;
}

.nav-link.active {
    color: #f97316;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #f97316;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.main-content {
    min-height: calc(100vh - 200px);
}

.hero-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e5e7eb;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 0.5rem;
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(249, 115, 22, 0.2);
    transform: translateY(-3px);
}

.stat-item i {
    font-size: 2rem;
    color: #f97316;
}

.stat-item span {
    font-weight: 600;
}

.tips-grid-section {
    padding: 3rem 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.tip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tip-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.tip-card h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.tip-card p {
    color: #6b7280;
    line-height: 1.7;
}

.detailed-section {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 3rem;
    font-weight: 700;
}

.detailed-content {
    margin-top: 2rem;
}

.detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.detail-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: white;
}

.detail-overlay h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-column {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid #f97316;
}

.info-column h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-column h3 i {
    color: #f97316;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 0.75rem 0;
    color: #374151;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li::before {
    content: '✓';
    color: #f97316;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-column {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    color: white;
}

.emergency-box {
    text-align: center;
}

.emergency-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.emergency-box h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.emergency-numbers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.emergency-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
}

.emergency-label {
    font-weight: 600;
}

.emergency-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.emergency-number:hover {
    transform: scale(1.1);
}

.rule30-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.rule30-content {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.rule30-header {
    text-align: center;
    margin-bottom: 2rem;
}

.rule30-header i {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.rule30-header h2 {
    font-size: 2.5rem;
    color: #1f2937;
    font-weight: 700;
}

.rule30-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.rule30-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.rule30-item {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.rule30-item:hover {
    border-color: #f97316;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.2);
}

.rule30-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #f97316;
    margin-bottom: 1rem;
}

.rule30-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    background: #fff7ed;
    color: #f97316;
}

.rule30-item h4 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.rule30-item p {
    color: #6b7280;
}

.rule30-warning {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    padding: 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border-left: 4px solid #ef4444;
}

.rule30-warning i {
    font-size: 1.5rem;
    color: #dc2626;
    flex-shrink: 0;
}

.rule30-warning p {
    color: #991b1b;
    line-height: 1.6;
}

.prevention-checklist {
    padding: 4rem 0;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.checklist-category {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.checklist-category h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f97316;
}

.checklist-category h3 i {
    color: #f97316;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    background: #f9fafb;
}

.checklist-item input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: #f97316;
}

.checklist-item span {
    color: #374151;
    line-height: 1.5;
}

.checklist-item input[type="checkbox"]:checked + span {
    text-decoration: line-through;
    color: #9ca3af;
}

.cta-section {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
}

.footer-brand i {
    color: #f97316;
    font-size: 1.5rem;
}

.footer p {
    color: #d1d5db;
}

.scroll-to-top {
    background: #f97316;
    color: white;
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #ea580c;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .detailed-grid {
        grid-template-columns: 1fr;
    }

    .info-columns {
        grid-template-columns: 1fr;
    }

    .rule30-grid {
        grid-template-columns: 1fr;
    }

    .checklist-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .rule30-header h2 {
        font-size: 1.75rem;
    }

    .rule30-number {
        font-size: 2rem;
    }
}
