/* SMASH Home Page Styles — extracted from templates/home.html */
body { margin: 0; padding: 0; }
.main-content { padding: 0 !important; margin: 0 !important; }
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    contain: strict;
    min-height: 520px;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        repeating-linear-gradient(90deg, rgba(220,53,69,0.03) 0px, transparent 1px, transparent 40px, rgba(220,53,69,0.03) 41px),
        repeating-linear-gradient(0deg, rgba(220,53,69,0.03) 0px, transparent 1px, transparent 40px, rgba(220,53,69,0.03) 41px);
    pointer-events: none;
}
.hero-logo {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 8px;
    text-shadow: 0 0 10px rgba(220,53,69,0.5), 0 0 20px rgba(220,53,69,0.3), 4px 4px 8px rgba(0,0,0,0.5);
    position: relative;
    display: inline-block;
}
.hero-logo::after {
    content: 'SMASH';
    position: absolute;
    top: 0; left: 0;
    color: #dc3545;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.7;
}
.shatter-effect { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; contain: layout style; }
.shatter-piece { position: absolute; background: #dc3545; opacity: 0.6; clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); }
.sp1 { width: 60px; height: 60px; top: 15%; left: 10%; animation: float1 6s ease-in-out infinite; }
.sp2 { width: 40px; height: 40px; top: 25%; right: 15%; animation: float2 8s ease-in-out infinite 1s; }
.sp3 { width: 50px; height: 50px; bottom: 20%; left: 20%; animation: float3 7s ease-in-out infinite 2s; }
.sp4 { width: 35px; height: 35px; bottom: 30%; right: 25%; animation: float4 9s ease-in-out infinite 1.5s; }
.sp5 { width: 45px; height: 45px; top: 40%; right: 8%; animation: float5 7.5s ease-in-out infinite 0.5s; }
@keyframes float1 {
    0%, 100% { transform: rotate(45deg) translateZ(0); opacity: 0.6; }
    50% { transform: rotate(55deg) translateZ(0); opacity: 0.4; }
}
@keyframes float2 {
    0%, 100% { transform: rotate(-30deg) translateZ(0); opacity: 0.6; }
    50% { transform: rotate(-20deg) translateZ(0); opacity: 0.4; }
}
@keyframes float3 {
    0%, 100% { transform: rotate(60deg) translateZ(0); opacity: 0.6; }
    50% { transform: rotate(70deg) translateZ(0); opacity: 0.4; }
}
@keyframes float4 {
    0%, 100% { transform: rotate(-45deg) translateZ(0); opacity: 0.6; }
    50% { transform: rotate(-35deg) translateZ(0); opacity: 0.4; }
}
@keyframes float5 {
    0%, 100% { transform: rotate(15deg) translateZ(0); opacity: 0.6; }
    50% { transform: rotate(25deg) translateZ(0); opacity: 0.4; }
}
.hero-tagline { font-size: 1.5rem; font-weight: 300; letter-spacing: 2px; margin-top: 20px; }
.hero-description { font-size: 1.1rem; line-height: 1.8; max-width: 800px; margin: 30px auto; }
.btn-smash {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff !important;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(220,53,69,0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-smash:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(220,53,69,0.6);
    transform: translateY(-2px);
    text-decoration: none;
}
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #dc3545;
}
.feature-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 5px 15px rgba(220,53,69,0.3);
}
.stats-section { background: #f8f9fa; padding: 60px 0; }
.stat-card { text-align: center; padding: 30px; }
.stat-number { font-size: 3rem; font-weight: 800; color: #dc3545; display: block; }
.stat-label { font-size: 1.1rem; color: #6c757d; text-transform: uppercase; letter-spacing: 1px; margin-top: 10px; }
.how-it-works { background: white; padding: 60px 0; border-top: 1px solid #e9ecef; border-bottom: 1px solid #e9ecef; }
.how-step { text-align: center; padding: 20px; position: relative; }
.step-number {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem; font-weight: 700;
    box-shadow: 0 4px 10px rgba(220,53,69,0.3);
}
.step-title { font-size: 1.3rem; font-weight: 600; color: #1a1a1a; margin-bottom: 10px; }
.step-arrow { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font-size: 2rem; color: #dc3545; opacity: 0.5; }
@media (max-width: 768px) { .step-arrow { display: none; } }
@media (max-width: 576px) {
    .hero-btn {
        width: 100% !important; max-width: 320px;
        height: 54px;
        font-size: 0.9rem !important; padding: 0 20px !important;
        letter-spacing: 0 !important; border-radius: 28px !important;
    }
    .hero-btn:hover { transform: none; }
    .login-btn, .get-started-btn, .blog-btn { animation: none !important; }
}
.hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }
.hero-btn {
    width: 460px; max-width: 90vw; height: 64px;
    padding: 0 30px !important;
    font-size: 1.15rem !important; font-weight: 700 !important;
    letter-spacing: 1px;
    border-radius: 35px !important;
    text-align: center; text-decoration: none !important;
    display: flex; flex-direction: row; align-items: center; justify-content: center;
    gap: 8px; white-space: nowrap;
    transition: transform 0.2s;
}
.hero-btn:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
/* Glow-only animations — no scale transforms (CLS-safe) */
@keyframes glow { 0%, 100% { opacity: 0.88; } 50% { opacity: 1; } }
@keyframes glowGold { 0%, 100% { opacity: 0.88; } 50% { opacity: 1; } }
@keyframes glowWhite { 0%, 100% { opacity: 0.88; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .sp1, .sp2, .sp3, .sp4, .sp5,
    .login-btn, .get-started-btn, .blog-btn { animation: none !important; }
}
.login-btn {
    background: linear-gradient(to bottom, #E0115F 0%, #9B111E 100%) !important;
    border: 1px solid #9B111E !important;
    color: #FFFFFF !important;
    animation: glow 3s ease-in-out infinite;
}
.get-started-btn {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border: 2px solid #FFFFFF !important;
    animation: glowWhite 3s ease-in-out infinite;
}
.get-started-btn:hover { background-color: #f0f0f0 !important; color: #000000 !important; }
.blog-btn {
    background: linear-gradient(to bottom, #EBD197 0%, #B48811 50%, #A2790D 51%, #BB9B49 100%) !important;
    color: #000000 !important;
    border: 1px solid #A2790D !important;
    box-shadow: inset 0 1px 0 rgba(235,209,151,0.5);
    text-shadow: 0 1px 0 rgba(235,209,151,0.4);
    animation: glowGold 3s ease-in-out infinite;
}
.blog-btn:hover {
    background: linear-gradient(to bottom, #F5E1AB 0%, #C49A1A 50%, #B48811 51%, #CCAC5A 100%) !important;
    color: #000000 !important;
}
