/* iPhone 17 Pro Max Giveaway - MOBILE-FIRST Premium Design */

:root {
    --primary: #000000;
    --secondary: #fbfbfd;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --border: rgba(0, 0, 0, 0.06);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.1);
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', sans-serif;
    line-height: 1.47;
    color: var(--text-primary);
    background: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

/* Desktop adjustments */
@media (min-width: 768px) {
    .container {
        max-width: 680px;
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 980px;
    }
}

/* Hero Section - MOBILE FIRST */
.hero-section {
    background: linear-gradient(180deg, #000000 0%, #1d1d1f 100%);
    padding: 50px 20px 40px;
    text-align: center;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 80px 24px 64px;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 100px 24px 80px;
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pulse-dot {
    display: none;
}

/* Mobile-first typography */
.hero-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    overflow: hidden;
}

@media (min-width: 375px) {
    .hero-title {
        font-size: 32px;
    }
}

@media (min-width: 480px) {
    .hero-title {
        font-size: 38px;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 52px;
        line-height: 1.1;
        letter-spacing: -0.02em;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 64px;
        letter-spacing: -0.03em;
    }
}

.gradient-text {
    background: linear-gradient(90deg, #ff6b00 0%, #ffa500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

.hero-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 375px) {
    .hero-subtitle {
        font-size: 14px;
    }
}

@media (min-width: 480px) {
    .hero-subtitle {
        font-size: 15px;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 19px;
        margin-bottom: 40px;
        line-height: 1.4;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 21px;
        margin-bottom: 48px;
    }
}

/* Countdown Timer - MOBILE OPTIMIZED */
.countdown-container {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 20px 12px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

@media (min-width: 480px) {
    .countdown-container {
        padding: 24px 16px;
        border-radius: 16px;
    }
}

@media (min-width: 768px) {
    .countdown-container {
        padding: 32px 32px;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .countdown-container {
        padding: 40px 48px;
        max-width: 560px;
    }
}

.countdown-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .countdown-label {
        font-size: 12px;
        margin-bottom: 20px;
    }
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

@media (min-width: 375px) {
    .countdown {
        gap: 10px;
    }
}

@media (min-width: 480px) {
    .countdown {
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .countdown {
        gap: 24px;
    }
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 375px) {
    .countdown-number {
        font-size: 28px;
    }
}

@media (min-width: 480px) {
    .countdown-number {
        font-size: 36px;
        margin-bottom: 8px;
    }
}

@media (min-width: 768px) {
    .countdown-number {
        font-size: 44px;
    }
}

@media (min-width: 1024px) {
    .countdown-number {
        font-size: 48px;
    }
}

.countdown-text {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

@media (min-width: 375px) {
    .countdown-text {
        font-size: 10px;
        letter-spacing: 0.5px;
    }
}

@media (min-width: 768px) {
    .countdown-text {
        font-size: 12px;
        letter-spacing: 0.6px;
    }
}

/* Showcase Section - MOBILE FIRST */
.showcase-section {
    padding: 56px 16px;
    background: #ffffff;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .showcase-section {
        padding: 80px 24px;
    }
}

@media (min-width: 1024px) {
    .showcase-section {
        padding: 96px 24px;
    }
}

.iphone-showcase {
    text-align: center;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .iphone-showcase {
        margin-bottom: 64px;
    }
}

@media (min-width: 1024px) {
    .iphone-showcase {
        margin-bottom: 80px;
    }
}

.iphone-image {
    max-width: 100%;
    width: 85%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (min-width: 375px) {
    .iphone-image {
        width: 90%;
    }
}

@media (min-width: 480px) {
    .iphone-image {
        width: 380px;
    }
}

@media (min-width: 768px) {
    .iphone-image {
        width: 420px;
    }
}

@media (min-width: 1024px) {
    .iphone-image {
        width: 480px;
    }
}

.glow-effect {
    display: none;
}

.prize-details h2 {
    font-size: 28px;
    margin-bottom: 32px;
    text-align: center;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .prize-details h2 {
        font-size: 40px;
        margin-bottom: 48px;
    }
}

@media (min-width: 1024px) {
    .prize-details h2 {
        font-size: 48px;
        margin-bottom: 64px;
        letter-spacing: -0.03em;
    }
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 640px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (min-width: 1024px) {
    .specs-grid {
        gap: 16px;
    }
}

.spec-item {
    padding: 20px 18px;
    background: var(--secondary);
    border-radius: 16px;
    transition: transform 0.2s var(--transition);
}

@media (min-width: 768px) {
    .spec-item {
        padding: 28px 24px;
    }
}

@media (min-width: 1024px) {
    .spec-item {
        padding: 32px 28px;
        border-radius: 18px;
    }
}

.spec-item:active {
    transform: scale(0.98);
}

@media (min-width: 1024px) {
    .spec-item:hover {
        transform: translateY(-4px);
    }
}

.spec-icon {
    display: none;
}

.spec-text strong {
    display: block;
    font-size: 17px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .spec-text strong {
        font-size: 19px;
        margin-bottom: 8px;
    }
}

.spec-text span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (min-width: 768px) {
    .spec-text span {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* Entry Section - MOBILE FIRST */
.entry-section {
    padding: 56px 16px;
    background: var(--secondary);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .entry-section {
        padding: 80px 24px;
    }
}

@media (min-width: 1024px) {
    .entry-section {
        padding: 96px 24px;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 56px;
    }
}

@media (min-width: 1024px) {
    .section-header {
        margin-bottom: 64px;
    }
}

.section-header h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 40px;
    }
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 48px;
        letter-spacing: -0.03em;
        margin-bottom: 20px;
    }
}

.section-header p {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.4;
    padding: 0 8px;
}

@media (min-width: 768px) {
    .section-header p {
        font-size: 17px;
        max-width: 560px;
    }
}

@media (min-width: 1024px) {
    .section-header p {
        font-size: 19px;
        max-width: 600px;
        line-height: 1.5;
    }
}

/* Auth Tabs - MOBILE FIRST */
.entry-form-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .entry-form-container {
        max-width: 520px;
    }
}

.auth-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.03);
    padding: 4px;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .auth-tabs {
        gap: 8px;
        margin-bottom: 24px;
    }
}

.auth-tab {
    flex: 1;
    padding: 14px 12px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s var(--transition);
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

@media (min-width: 768px) {
    .auth-tab {
        padding: 12px;
    }
}

.auth-tab:active {
    transform: scale(0.97);
}

.auth-tab.active {
    background: #ffffff;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Forms - MOBILE FIRST */
.participant-form {
    background: #ffffff;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

@media (min-width: 480px) {
    .participant-form {
        padding: 28px 24px;
    }
}

@media (min-width: 768px) {
    .participant-form {
        padding: 40px 32px;
        border-radius: 18px;
    }
}

.form-group {
    margin-bottom: 18px;
}

@media (min-width: 768px) {
    .form-group {
        margin-bottom: 20px;
    }
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 15px;
}

@media (min-width: 768px) {
    .form-group label {
        margin-bottom: 10px;
    }
}

.form-group input {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s var(--transition);
    -webkit-appearance: none;
    min-height: 48px;
}

@media (min-width: 768px) {
    .form-group input {
        padding: 16px;
        font-size: 17px;
    }
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-help-text {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (min-width: 768px) {
    .form-help-text {
        margin-top: 16px;
        font-size: 14px;
    }
}

/* Buttons - MOBILE FIRST (44px min touch target) */
.btn {
    display: inline-block;
    padding: 14px 24px;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s var(--transition);
    text-decoration: none;
    text-align: center;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    min-height: 48px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .btn {
        font-size: 17px;
        min-height: 44px;
    }
}

.btn:active {
    transform: scale(0.97);
}

@media (min-width: 1024px) {
    .btn:hover {
        transform: translateY(-1px);
    }
    
    .btn:active {
        transform: translateY(0);
    }
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

@media (min-width: 1024px) {
    .btn-primary:hover {
        background: var(--accent-hover);
    }
}

.btn-secondary {
    background: var(--primary);
    color: #ffffff;
}

@media (min-width: 1024px) {
    .btn-secondary:hover {
        background: #1d1d1f;
    }
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

@media (min-width: 1024px) {
    .btn-outline:hover {
        background: rgba(0, 113, 227, 0.05);
    }
}

.btn-large {
    width: 100%;
    padding: 16px 24px;
    font-size: 17px;
    min-height: 52px;
}

@media (min-width: 768px) {
    .btn-large {
        font-size: 18px;
    }
}

.btn-block {
    width: 100%;
}

.btn-small {
    padding: 11px 18px;
    font-size: 14px;
    min-height: 42px;
}

@media (min-width: 768px) {
    .btn-small {
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* User Info Card - MOBILE FIRST */
.user-info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    margin-bottom: 32px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .user-info-card {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 32px;
        margin-bottom: 40px;
        border-radius: 18px;
        gap: 24px;
    }
}

.user-welcome h3 {
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.02em;
}

@media (min-width: 480px) {
    .user-welcome h3 {
        font-size: 24px;
        margin-bottom: 8px;
    }
}

@media (min-width: 768px) {
    .user-welcome h3 {
        font-size: 28px;
    }
}

.user-welcome p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .user-welcome p {
        font-size: 17px;
    }
}

.entry-counter {
    text-align: center;
    padding: 20px;
    background: var(--secondary);
    border-radius: 14px;
    width: 100%;
}

@media (min-width: 768px) {
    .entry-counter {
        padding: 24px;
        width: auto;
        min-width: 140px;
    }
}

.entry-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

@media (min-width: 768px) {
    .entry-count {
        gap: 8px;
    }
}

.big-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

@media (min-width: 480px) {
    .big-number {
        font-size: 52px;
    }
}

@media (min-width: 768px) {
    .big-number {
        font-size: 56px;
    }
}

.entry-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

@media (min-width: 768px) {
    .entry-label {
        font-size: 13px;
    }
}

/* Leaderboard - MOBILE FIRST */
.leaderboard-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 32px;
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .leaderboard-section {
        border-radius: 18px;
        padding: 32px;
        margin-bottom: 40px;
    }
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

@media (min-width: 768px) {
    .leaderboard-header {
        margin-bottom: 24px;
    }
}

.leaderboard-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

@media (min-width: 480px) {
    .leaderboard-header h3 {
        font-size: 22px;
    }
}

@media (min-width: 768px) {
    .leaderboard-header h3 {
        font-size: 24px;
    }
}

.live-badge {
    background: #f0fdf4;
    color: #15803d;
    padding: 5px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (min-width: 480px) {
    .live-badge {
        padding: 6px 12px;
        font-size: 11px;
        letter-spacing: 0.6px;
    }
}

@media (min-width: 768px) {
    .live-badge {
        font-size: 12px;
    }
}

.live-badge::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #15803d;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse-dot 2s infinite;
}

@media (min-width: 768px) {
    .live-badge::before {
        width: 6px;
        height: 6px;
        margin-right: 6px;
    }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    background: var(--secondary);
    border-radius: 12px;
    transition: all 0.2s var(--transition);
    min-height: 48px;
}

@media (min-width: 768px) {
    .leaderboard-item {
        gap: 16px;
        padding: 16px;
    }
}

.leaderboard-item:active {
    transform: scale(0.98);
}

@media (min-width: 1024px) {
    .leaderboard-item:hover {
        background: #f0f0f2;
        transform: translateY(-1px);
    }
}

.leaderboard-item.current-user {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    border: 1px solid var(--accent);
}

.leaderboard-item.updated {
    animation: leaderboard-pulse 1s ease;
}

@keyframes leaderboard-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); background: rgba(0, 113, 227, 0.05); }
}

.leaderboard-item .rank {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-secondary);
    min-width: 32px;
    text-align: center;
}

@media (min-width: 768px) {
    .leaderboard-item .rank {
        font-size: 17px;
        min-width: 40px;
    }
}

.leaderboard-item .participant-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .leaderboard-item .participant-name {
        font-size: 17px;
    }
}

.leaderboard-item .entry-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .leaderboard-item .entry-count {
        font-size: 15px;
    }
}

.leaderboard-empty {
    text-align: center;
    padding: 28px 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

@media (min-width: 768px) {
    .leaderboard-empty {
        padding: 32px;
        font-size: 15px;
    }
}

/* Task Cards - MOBILE FIRST (single column) */
.tasks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}

@media (min-width: 1024px) {
    .tasks-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 24px;
    }
}

.task-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: var(--shadow);
    transition: all 0.2s var(--transition);
}

@media (min-width: 768px) {
    .task-card {
        padding: 28px 24px;
        border-radius: 18px;
    }
}

@media (min-width: 1024px) {
    .task-card {
        padding: 32px;
    }
    
    .task-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
}

.task-card:active {
    transform: scale(0.98);
}

.task-card-special {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border: 1px solid var(--accent);
}

.task-card.completed {
    opacity: 0.5;
}

.task-icon {
    display: none;
}

.task-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.02em;
}

@media (min-width: 480px) {
    .task-card h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }
}

@media (min-width: 768px) {
    .task-card h3 {
        font-size: 24px;
    }
}

.task-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .task-card p {
        font-size: 17px;
        margin-bottom: 24px;
    }
}

.task-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-completed {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: #f0fdf4;
    border-radius: 12px;
    color: #15803d;
    font-weight: 500;
    font-size: 14px;
    min-height: 52px;
}

@media (min-width: 768px) {
    .task-completed {
        gap: 12px;
        padding: 20px;
        font-size: 15px;
    }
}

.check-icon {
    display: none;
}

.step-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .step-label {
        font-size: 13px;
        margin-bottom: 10px;
    }
}

/* Upload Section - MOBILE FIRST */
.upload-section {
    margin-top: 14px;
}

@media (min-width: 768px) {
    .upload-section {
        margin-top: 16px;
    }
}

.upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    background: var(--secondary);
    border: 2px dashed var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s var(--transition);
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.4;
    min-height: 80px;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
    .upload-label {
        padding: 32px;
        border-radius: 14px;
        font-size: 15px;
    }
}

.upload-label:active {
    transform: scale(0.98);
    border-color: var(--accent);
    background: rgba(0, 113, 227, 0.03);
}

@media (min-width: 1024px) {
    .upload-label:hover {
        border-color: var(--accent);
        background: rgba(0, 113, 227, 0.03);
        color: var(--accent);
    }
}

.file-input {
    display: none;
}

.image-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

@media (min-width: 768px) {
    .image-preview {
        border-radius: 14px;
    }
}

.preview-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 280px;
    object-fit: contain;
    background: #fafafa;
}

@media (min-width: 768px) {
    .preview-img {
        max-height: 320px;
    }
}

.remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    min-height: 40px;
}

@media (min-width: 768px) {
    .remove-image {
        top: 12px;
        right: 12px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

.remove-image:active {
    transform: scale(0.95);
}

@media (min-width: 1024px) {
    .remove-image:hover {
        background: rgba(0, 0, 0, 0.95);
    }
}

/* Review Content - MOBILE FIRST */
.review-content {
    background: var(--secondary);
    padding: 18px 16px;
    border-radius: 12px;
    margin-bottom: 14px;
}

@media (min-width: 768px) {
    .review-content {
        padding: 24px;
        border-radius: 14px;
        margin-bottom: 16px;
    }
}

.review-text {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
}

@media (min-width: 768px) {
    .review-text {
        font-size: 15px;
    }
}

/* Referral Section - MOBILE FIRST */
.referral-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (min-width: 768px) {
    .referral-section {
        gap: 16px;
    }
}

.referral-link-container {
    display: flex;
    gap: 10px;
    background: var(--secondary);
    padding: 10px;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .referral-link-container {
        gap: 12px;
        padding: 12px;
        border-radius: 14px;
    }
}

.referral-input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-family: 'SF Mono', Monaco, monospace;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    min-width: 0;
}

@media (min-width: 480px) {
    .referral-input {
        font-size: 14px;
        padding: 10px 14px;
    }
}

@media (min-width: 768px) {
    .referral-input {
        font-size: 15px;
    }
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (min-width: 768px) {
    .share-buttons {
        gap: 12px;
    }
}

.btn-social {
    background: var(--primary);
    color: #ffffff;
}

@media (min-width: 1024px) {
    .btn-social:hover {
        background: #1d1d1f;
    }
}

.referral-stats {
    text-align: center;
    padding: 24px 20px;
    background: var(--secondary);
    border-radius: 12px;
}

@media (min-width: 768px) {
    .referral-stats {
        padding: 28px;
        border-radius: 14px;
    }
}

.referral-number {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

@media (min-width: 480px) {
    .referral-number {
        font-size: 44px;
    }
}

@media (min-width: 768px) {
    .referral-number {
        font-size: 48px;
    }
}

.referral-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .referral-label {
        font-size: 13px;
        margin-top: 8px;
    }
}

/* FAQ Section - MOBILE FIRST */
.faq-section {
    padding: 56px 16px;
    background: #ffffff;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .faq-section {
        padding: 72px 24px;
    }
}

@media (min-width: 1024px) {
    .faq-section {
        padding: 96px 24px;
    }
}

.faq-section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

@media (min-width: 480px) {
    .faq-section h2 {
        font-size: 32px;
        margin-bottom: 48px;
    }
}

@media (min-width: 768px) {
    .faq-section h2 {
        font-size: 40px;
        margin-bottom: 56px;
    }
}

@media (min-width: 1024px) {
    .faq-section h2 {
        font-size: 48px;
        letter-spacing: -0.03em;
        margin-bottom: 64px;
    }
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

.faq-item {
    background: var(--secondary);
    padding: 20px 18px;
    border-radius: 14px;
    transition: transform 0.2s var(--transition);
}

@media (min-width: 768px) {
    .faq-item {
        padding: 28px 24px;
        border-radius: 16px;
    }
}

@media (min-width: 1024px) {
    .faq-item {
        padding: 32px 28px;
        border-radius: 18px;
    }
    
    .faq-item:hover {
        transform: translateY(-4px);
    }
}

.faq-item:active {
    transform: scale(0.98);
}

.faq-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

@media (min-width: 480px) {
    .faq-item h4 {
        font-size: 17px;
    }
}

@media (min-width: 768px) {
    .faq-item h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }
}

@media (min-width: 1024px) {
    .faq-item h4 {
        font-size: 19px;
    }
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .faq-item p {
        font-size: 15px;
    }
}

/* Footer - MOBILE FIRST */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.6);
    padding: 48px 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer {
        padding: 56px 24px;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 64px 24px;
    }
}

.footer p {
    margin: 6px 0;
    font-size: 13px;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .footer p {
        margin: 8px 0;
        font-size: 14px;
    }
}

.footer-small {
    font-size: 11px;
    opacity: 0.5;
    margin-top: 12px;
}

@media (min-width: 768px) {
    .footer-small {
        font-size: 12px;
        margin-top: 16px;
    }
}

/* Toast Notification - MOBILE OPTIMIZED */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 14px 22px;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: bottom 0.3s var(--transition);
    font-weight: 500;
    font-size: 14px;
    max-width: calc(100% - 32px);
    text-align: center;
}

@media (min-width: 480px) {
    .toast {
        font-size: 15px;
        padding: 16px 28px;
        max-width: 90%;
    }
}

.toast.show {
    bottom: 24px;
}

@media (min-width: 768px) {
    .toast.show {
        bottom: 32px;
    }
}

.toast-success {
    background: #34c759;
}

.toast-error {
    background: #ff3b30;
}

/* Live Notification - MOBILE FIRST */
.live-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: top 0.4s var(--transition);
    max-width: calc(100% - 24px);
    width: 100%;
}

@media (min-width: 480px) {
    .live-notification {
        max-width: calc(100% - 40px);
        width: 360px;
        border-radius: 14px;
    }
}

.live-notification.show {
    top: 16px;
}

@media (min-width: 768px) {
    .live-notification.show {
        top: 24px;
    }
}

.notification-content {
    padding: 14px 16px;
}

@media (min-width: 480px) {
    .notification-content {
        padding: 16px 20px;
    }
}

.notification-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 13px;
}

@media (min-width: 480px) {
    .notification-text {
        gap: 4px;
        font-size: 14px;
    }
}

.notification-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.notification-text span {
    color: var(--text-secondary);
    font-size: 12px;
}

@media (min-width: 480px) {
    .notification-text span {
        font-size: 13px;
    }
}
