/* ===== COLOR STUDIO - New Minimal Design ===== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --red: #E63946;
    --red-dark: #B82D38;
    --dark-1: #0A0A12;
    --dark-2: #12121F;
    --dark-3: #1A1A2E;
    --dark-4: #252540;
    --white: #FFFFFF;
    --white-70: rgba(255, 255, 255, 0.7);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-10: rgba(255, 255, 255, 0.1);
    --radius: 16px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-1);
    color: var(--white);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
}

/* Content */
.content {
    flex: 1;
    padding: 40px 0;
}

/* Dev Banner */
.dev-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 32px;
    background: var(--dark-2);
    border: 1px solid var(--white-10);
    border-radius: var(--radius);
}

.clock-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: var(--red);
    animation: clockPulse 2s ease-in-out infinite;
}

.clock-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes clockPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.dev-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dev-text span:first-child {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.dev-text span:last-child {
    font-size: 13px;
    color: var(--white-50);
}

/* Hero Minimal */
.hero-minimal {
    margin-bottom: 40px;
}

.hero-minimal h1 {
    font-size: clamp(32px, 10vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    word-break: break-word;
}

.hero-minimal h1 span {
    color: var(--red);
}

.hero-minimal p {
    font-size: clamp(14px, 4vw, 16px);
    color: var(--white-70);
    max-width: 100%;
    line-height: 1.6;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.info-card {
    background: var(--dark-2);
    border: 1px solid var(--white-10);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.2s ease;
    min-height: 120px;
}

.info-card.accent {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border: none;
}

.info-card.accent .card-body h3,
.info-card.accent .card-body p {
    color: var(--white);
}

.card-icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.card-body h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--white);
}

.card-body p {
    font-size: 12px;
    color: var(--white-50);
    line-height: 1.5;
}

/* Coming Section */
.coming-section {
    margin-bottom: 40px;
}

.coming-section h2 {
    font-size: clamp(18px, 5vw, 20px);
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--dark-4);
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--dark-1);
    border: 2px solid var(--red);
    border-radius: 50%;
}

.timeline-content {
    background: var(--dark-2);
    border-radius: var(--radius-sm);
    padding: 16px;
    border: 1px solid var(--white-10);
}

.timeline-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--red);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 12px;
    color: var(--white-50);
    line-height: 1.5;
}

/* Notice Box */
.notice-box {
    display: flex;
    gap: 16px;
    background: var(--dark-2);
    border: 1px solid var(--red);
    border-radius: var(--radius);
    padding: 20px;
    align-items: flex-start;
}

.notice-icon {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
}

.notice-text {
    font-size: 13px;
    color: var(--white-70);
    line-height: 1.6;
}

.notice-text strong {
    color: var(--red);
}

/* Bottom Bar */
.bottom-bar {
    padding: 24px 0;
    border-top: 1px solid var(--white-10);
    text-align: center;
    margin-top: auto;
}

.bottom-bar > p {
    font-size: 12px;
    color: var(--white-50);
    margin-bottom: 16px;
}

.dev-info {
    padding-top: 16px;
    border-top: 1px solid var(--white-10);
}

.dev-info p {
    font-size: 10px;
    color: var(--white-20);
    line-height: 1.6;
    margin: 0;
}

/* ========== RESPONSIVE ========== */

/* Large phones */
@media (max-width: 480px) {
    .app-container {
        padding: 0 16px;
    }
    
    .content {
        padding: 24px 0;
    }
    
    .dev-banner {
        padding: 32px 16px;
        margin-bottom: 24px;
    }
    
    .clock-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }
    
    .dev-text span:first-child {
        font-size: 15px;
    }
    
    .dev-text span:last-child {
        font-size: 12px;
    }
    
    .hero-minimal {
        margin-bottom: 28px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 32px;
    }
    
    .info-card {
        min-height: auto;
        padding: 16px;
    }
    
    .notice-box {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px;
    }
    
    .notice-icon {
        margin: 0 auto;
    }
    
    .timeline-content {
        padding: 14px;
    }
    
    .coming-section {
        margin-bottom: 32px;
    }
}

/* Small phones */
@media (max-width: 360px) {
    .app-container {
        padding: 0 12px;
    }
    
    .content {
        padding: 20px 0;
    }
    
    .dev-banner {
        padding: 24px 12px;
        margin-bottom: 20px;
    }
    
    .clock-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 14px;
    }
    
    .dev-text span:first-child {
        font-size: 14px;
    }
    
    .dev-text span:last-child {
        font-size: 11px;
    }
    
    .hero-minimal {
        margin-bottom: 20px;
    }
    
    .hero-minimal h1 {
        margin-bottom: 12px;
    }
    
    .info-grid {
        margin-bottom: 24px;
    }
    
    .info-card {
        padding: 14px;
    }
    
    .card-icon {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .card-body h3 {
        font-size: 13px;
    }
    
    .card-body p {
        font-size: 11px;
    }
    
    .coming-section {
        margin-bottom: 24px;
    }
    
    .coming-section h2 {
        margin-bottom: 20px;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-dot {
        left: -20px;
        width: 10px;
        height: 10px;
    }
    
    .timeline-content {
        padding: 12px;
    }
    
    .timeline-tag {
        font-size: 9px;
        padding: 3px 8px;
    }
    
    .timeline-content h4 {
        font-size: 13px;
    }
    
    .timeline-content p {
        font-size: 11px;
    }
    
    .notice-box {
        padding: 14px;
    }
    
    .notice-icon {
        font-size: 20px;
    }
    
    .notice-text {
        font-size: 12px;
    }
    
    .bottom-bar {
        padding: 20px 0;
    }
    
    .bottom-bar p {
        font-size: 11px;
    }
    
    .footer-note {
        font-size: 10px !important;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .app-container {
        padding: 0 10px;
    }
    
    .hero-minimal h1 {
        font-size: 28px;
    }
    
    .hero-minimal p {
        font-size: 13px;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .content {
        padding: 20px 0;
    }
    
    .hero-minimal {
        margin-bottom: 24px;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 24px;
    }
    
    .coming-section {
        margin-bottom: 24px;
    }
}

/* Tablets */
@media (min-width: 768px) {
    .app-container {
        padding: 0 24px;
    }
    
    .info-grid {
        gap: 16px;
    }
    
    .info-card {
        padding: 24px;
    }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
    .app-container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .bottom-bar {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }
}

/* Touch optimizations */
@media (hover: none) and (pointer: coarse) {
    .info-card {
        -webkit-tap-highlight-color: transparent;
    }
    
    .info-card:active {
        background: var(--dark-3);
    }
    
    .info-card.accent:active {
        background: var(--red-dark);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .pulse {
        animation: none;
    }
    
    * {
        transition: none !important;
    }
}
