/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --secondary: #fd79a8;
    --accent: #f39c12;
    --dark: #0a0a1a;
    --dark-card: #12122a;
    --dark-lighter: #1a1a3e;
    --text: #e8e8f0;
    --text-muted: #9a9ab0;
    --gradient-1: linear-gradient(135deg, #e74c3c, #ff6b6b);
    --gradient-2: linear-gradient(135deg, #e74c3c, #f39c12);
    --gradient-3: linear-gradient(135deg, #f39c12, #f1c40f);
    --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #3d0c0c 100%);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== PARTICLES ========== */
.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float linear infinite;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 26, 0.98);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .burger { display: flex; }
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(231, 76, 60, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(253, 121, 168, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(0, 206, 201, 0.08) 0%, transparent 50%);
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid rgba(231, 76, 60, 0.5);
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 32px;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 7vw, 5rem);
    animation: fadeInUp 1s ease;
    animation-fill-mode: both;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-line.accent {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line.subtitle-line {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--secondary);
    font-weight: 700;
    font-style: italic;
    animation-delay: 0.8s;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.6);
}

.btn-outline {
    border: 2px solid rgba(231, 76, 60, 0.5);
    color: var(--text);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(231, 76, 60, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeIn 1s ease 1.5s both;
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ========== SECTIONS GENERAL ========== */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 12px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto 24px;
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== ABOUT ========== */
.about {
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--dark-card);
    border: 1px solid rgba(231, 76, 60, 0.1);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(231, 76, 60, 0.3);
    box-shadow: 0 20px 60px rgba(231, 76, 60, 0.15);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Stats */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========== POSTERS ========== */
.posters {
    background: var(--dark-card);
}

.posters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.poster-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.poster-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.poster-frame {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--dark-lighter);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(231, 76, 60, 0.15);
    transition: border-color 0.3s;
}

.poster-card:hover .poster-frame {
    border-color: rgba(231, 76, 60, 0.5);
    box-shadow: 0 20px 60px rgba(231, 76, 60, 0.2);
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text-muted);
    gap: 8px;
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.placeholder-icon.big {
    font-size: 5rem;
}

.poster-placeholder small {
    font-size: 0.75rem;
    opacity: 0.5;
}

.poster-caption {
    text-align: center;
    padding: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ========== SCHOOL ========== */
.school {
    background: var(--dark);
}

.school-gallery {
    max-width: 900px;
    margin: 0 auto;
}

.school-photo-main {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 24px;
    overflow: hidden;
    background: var(--dark-card);
    border: 2px solid rgba(231, 76, 60, 0.15);
    transition: all 0.4s ease;
}

.school-photo-main:hover {
    border-color: rgba(231, 76, 60, 0.4);
    box-shadow: 0 20px 60px rgba(231, 76, 60, 0.15);
}

.school-photo-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text-muted);
    gap: 12px;
}

/* ========== PROGRAM ========== */
.program {
    background: var(--dark-card);
}

.program-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.program-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    background: var(--dark);
    border-radius: 20px;
    border: 1px solid rgba(231, 76, 60, 0.1);
    transition: all 0.4s ease;
}

.program-item:hover {
    transform: translateX(8px);
    border-color: rgba(231, 76, 60, 0.3);
    box-shadow: 0 10px 40px rgba(231, 76, 60, 0.1);
}

.program-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
}

.program-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.program-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========== TEAM ========== */
.team {
    background: var(--dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-card {
    background: var(--dark-card);
    border: 1px solid rgba(231, 76, 60, 0.1);
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(231, 76, 60, 0.3);
    box-shadow: 0 20px 60px rgba(231, 76, 60, 0.15);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid rgba(231, 76, 60, 0.3);
    transition: border-color 0.3s;
}

.team-card:hover .team-photo {
    border-color: rgba(231, 76, 60, 0.7);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-lighter);
    font-size: 3rem;
    opacity: 0.4;
}

.team-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========== SUGGESTIONS ========== */
.suggest {
    background: var(--dark-card);
}

.suggest-form-wrap {
    max-width: 600px;
    margin: 0 auto;
}

.suggest-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.suggest-form textarea {
    background: var(--dark);
    border: 2px solid rgba(231, 76, 60, 0.15);
    border-radius: 16px;
    padding: 16px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s;
}

.suggest-form textarea:focus {
    outline: none;
    border-color: rgba(231, 76, 60, 0.5);
}

.suggest-form textarea::placeholder {
    color: var(--text-muted);
}

.suggest-form .btn {
    align-self: flex-end;
}

.profanity-warn {
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #ff6b6b;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
}

.error-shake {
    animation: shake 0.5s ease;
    border-color: #e74c3c !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

.suggest-success {
    text-align: center;
    padding: 32px;
    color: #2ecc71;
    font-weight: 600;
    font-size: 1.1rem;
    background: rgba(46, 204, 113, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

/* ========== CTA ========== */
.cta {
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(231, 76, 60, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(253, 121, 168, 0.15) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-slogan {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-glow 3s ease infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.8; filter: brightness(1.3); }
}

/* ========== FOOTER ========== */
.footer {
    background: rgba(5, 5, 15, 0.9);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(231, 76, 60, 0.1);
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.footer-small {
    font-size: 0.75rem !important;
    opacity: 0.5;
}

/* ========== SUPPORT BUTTON ========== */
.support-section {
    text-align: center;
    margin: 40px 0;
    padding: 32px;
    background: var(--dark-card);
    border-radius: 24px;
    border: 1px solid rgba(231, 76, 60, 0.15);
}

.support-counter {
    margin-bottom: 20px;
}

.support-count {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 5rem);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.support-label {
    font-size: 1rem;
    color: var(--text-muted);
}

.btn-support {
    font-size: 1.2rem;
    padding: 16px 48px;
    animation: pulse-glow 3s ease infinite;
}

.btn-support:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    animation: none;
}

.support-done {
    color: #2ecc71;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 12px;
}

/* ========== RULES PAGE ========== */
.rules-list {
    max-width: 800px;
    margin: 0 auto 40px;
}

.rules-placeholder {
    text-align: center;
    padding: 60px 24px;
    background: var(--dark-card);
    border-radius: 20px;
    border: 2px dashed rgba(231, 76, 60, 0.2);
    color: var(--text-muted);
}

.rules-placeholder h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 16px 0 8px;
    color: var(--text);
}

.rule-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--dark-card);
    border-radius: 16px;
    border: 1px solid rgba(231, 76, 60, 0.1);
    margin-bottom: 16px;
    transition: all 0.3s;
}

.rule-item:hover {
    border-color: rgba(231, 76, 60, 0.3);
}

.rule-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    min-width: 32px;
}

.rule-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 4px;
}

.rule-text p {
    color: var(--text-muted);
}

.rules-back {
    text-align: center;
    margin-top: 40px;
}

/* ========== PROGRAM LINK ========== */
.btn-link {
    display: inline-block;
    margin-top: 8px;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.btn-link:hover {
    color: #e74c3c;
}

/* ========== FOOTER LINKS ========== */
.footer-links {
    margin-bottom: 12px;
}

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

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

/* ========== ANIMATIONS ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== RESPONSIVE ========== */

/* Tablets */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html { font-size: 15px; }

    .navbar {
        padding: 10px 16px;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .section {
        padding: 48px 0;
    }

    .container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 16px;
    }

    .title-line {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }

    .title-line.subtitle-line {
        font-size: clamp(0.9rem, 4vw, 1.4rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-card {
        padding: 24px 20px;
    }

    .program-item {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .program-number {
        font-size: 1.5rem;
    }

    .stats-row {
        gap: 24px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .posters-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 0 auto;
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .team-card {
        padding: 20px 12px;
    }

    .team-photo {
        width: 80px;
        height: 80px;
    }

    .team-name {
        font-size: 0.95rem;
    }

    .team-card h3 {
        font-size: 0.8rem;
    }

    .team-card p {
        font-size: 0.75rem;
    }

    .support-section {
        padding: 24px 16px;
    }

    .support-count {
        font-size: 3rem;
    }

    .btn-support {
        font-size: 1rem;
        padding: 14px 32px;
        width: 100%;
        max-width: 280px;
    }

    .suggest-form textarea {
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    .cta h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .cta-slogan {
        font-size: clamp(1rem, 4vw, 1.8rem);
    }

    .school-photo-main {
        border-radius: 16px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .section-desc {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .rule-item {
        flex-direction: column;
        gap: 8px;
        padding: 16px;
    }
}

/* Small phones */
@media (max-width: 380px) {
    html { font-size: 14px; }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .team-photo {
        width: 64px;
        height: 64px;
    }

    .title-line {
        font-size: clamp(1.5rem, 9vw, 2.5rem);
    }
}

/* Touch-specific */
@media (hover: none) {
    .about-card:hover,
    .poster-card:hover,
    .team-card:hover,
    .program-item:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Safe area for notched phones */
@supports (padding: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }
    .navbar {
        padding-top: calc(16px + env(safe-area-inset-top));
    }
}
