/* ================================================================
   TirCraft.net — Wkrótce Stylesheet
   Style: Dark Purple / Indigo / Glassmorphism
================================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Background */
    --bg:           #07000e;
    
    /* Brand Colors */
    --purple:       #8b5cf6;
    --purple-light: #a78bfa;
    --indigo:       #6366f1;
    
    /* Text */
    --txt:          #f1f5f9;
    --txt3:         #94a3b8;
    
    /* Misc */
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--txt);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Orbs */
.background-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.28) 0%, transparent 75%);
    top: -180px; left: 50%;
    transform: translateX(-50%);
    animation: orbFloat1 12s ease-in-out infinite;
}

.orb-2 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    top: 20%; left: 5%;
    animation: orbFloat2 15s ease-in-out infinite;
}

.orb-3 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
    top: 35%; right: 8%;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-30px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

/* Main Container */
.hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    width: 100%;
}

.hero-inner {
    max-width: 650px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(10, 3, 22, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 36px;
    padding: 60px 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 0 40px rgba(139, 92, 246, 0.05);
    animation: fadeInUp 0.8s var(--ease) both;
}

/* Animations */
@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); }
}

/* Logo */
.logo-container {
    margin-bottom: 28px;
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
    animation: pulseLogo 4s ease-in-out infinite;
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.2)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.4)); }
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 100px;
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-light);
    margin-bottom: 28px;
    animation: fadeInDown 0.6s var(--ease) both;
}

.badge-pulse {
    width: 10px; height: 10px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0px rgba(34, 197, 94, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0px rgba(34, 197, 94, 0); }
}

/* Typography */
.hero-title {
    display: block;
    font-size: clamp(48px, 9vw, 76px);
    font-weight: 900;
    letter-spacing: -2.5px;
    line-height: 1;
    margin-bottom: 16px;
    animation: fadeInUp 0.7s var(--ease) 0.1s both;
}

.ht-tir {
    background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ht-net {
    background: linear-gradient(135deg, #818cf8, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(22px, 4.5vw, 32px);
    font-weight: 700;
    color: var(--txt);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.7s var(--ease) 0.2s both;
}

.hero-desc {
    font-size: 17px;
    color: var(--txt3);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
    animation: fadeInUp 0.7s var(--ease) 0.3s both;
}

/* Discord Button */
.social-links {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.7s var(--ease) 0.4s both;
}

.btn-discord {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #5865F2;
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s var(--ease-spring), box-shadow 0.2s;
}

.btn-discord:hover {
    background: #6974f3;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(88, 101, 242, 0.4);
}

.btn-discord:active {
    transform: translateY(0);
}

/* Countdown Timer Box */
.countdown-wrapper {
    width: 100%;
    margin: 20px 0 10px;
    display: flex;
    justify-content: center;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 440px;
}

.cd-box {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 18px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cd-box span {
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #ffffff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cd-box small {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--purple-light);
    margin-top: 6px;
}

@media (max-width: 480px) {
    .hero-inner {
        padding: 40px 24px;
        border-radius: 28px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .logo-img {
        height: 80px;
    }

    .countdown-grid {
        gap: 8px;
    }

    .cd-box {
        padding: 12px 6px;
    }
}
