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

body {
    font-family: 'Roboto', sans-serif;
    /* Industrial/hardware themed background image from unsplash */
    background: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
    position: relative;
}

/* Particles Container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker gradient overlay to make text pop more */
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(30, 30, 30, 0.85) 100%);
    z-index: 2;
}

/* YATAY (HORIZONTAL) KUTU TASARIMI (Masaüstü) */
.container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: row; /* Masaüstünde yan yana */
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 90%;
    padding: 60px;
    gap: 50px;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 204, 0, 0.4);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 204, 0, 0.1);
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Sol Sütun (Yazı ve Logo) */
.left-col {
    flex: 1.2;
    text-align: left;
}

/* Sağ Sütun (Sayaç ve Sosyal Medya) */
.right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255,255,255,0.1); /* Sütunlar arası hafif ayırıcı çizgi */
    padding-left: 50px;
}

.logo-container {
    display: flex;
    justify-content: flex-start; /* Sola dayalı */
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.gear-icon {
    font-size: 3rem;
    color: #ffcc00; /* Hardware Yellow */
    animation: spin 8s linear infinite;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
}

.wrench {
    animation: float 3s ease-in-out infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-10px) rotate(0deg); }
}

h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

h1 span {
    color: #ffcc00;
}

.content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.content p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #d1d1d1;
    max-width: 95%; /* Sola dayalı olduğu için % genişlik yeterli */
}

/* Countdown (Masaüstünde 2x2 Grid) */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.countdown-item {
    background: linear-gradient(145deg, rgba(20,20,20,0.8), rgba(0,0,0,0.9));
    border: 2px solid #ffcc00;
    border-radius: 16px;
    padding: 25px 20px;
    width: 130px; /* Genişlik arttırıldı */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.15), inset 0 0 10px rgba(255, 204, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Glossy shine effect */
.countdown-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.countdown-item:hover::before {
    top: 100%;
    left: 100%;
}

.countdown-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 204, 0, 0.4), inset 0 0 15px rgba(255, 204, 0, 0.2);
    border-color: #ffe066;
}

.countdown-item span:first-child {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    color: #ffcc00;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
}

.countdown-item .label {
    font-size: 1rem;
    text-transform: uppercase;
    color: #c4c4c4;
    margin-top: 8px;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: #ffcc00;
    color: #111;
    transform: translateY(-5px) scale(1.15);
    border-color: #ffcc00;
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.5);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================
   TELEFON MODU (MOBİLE LAYOUT) - DİKEY 
   ========================================= */
@media (max-width: 1024px) {
    .container {
        flex-direction: column; /* Telefondan/Tabletten dikey yap */
        text-align: center;
        padding: 50px 30px;
        gap: 30px;
        max-width: 650px;
    }

    .left-col {
        text-align: center;
    }

    .logo-container {
        justify-content: center; /* Ortaya hizala */
        flex-wrap: wrap;
    }

    .right-col {
        border-left: none; /* Ayırıcı çizgiyi kaldır */
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-left: 0;
        padding-top: 40px;
        width: 100%;
    }

    .content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Mobilde sayaçları yanyana 4'lü sığdır veya 2'li grid yap */
    .countdown-container {
        display: flex; 
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .countdown-item {
        width: 100px;
        padding: 15px 10px;
    }
    
    .countdown-item span:first-child {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    .gear-icon { font-size: 2.2rem; }
    .content h2 { font-size: 1.6rem; }
    .countdown-container { gap: 10px; }
    .countdown-item { width: 85px; padding: 15px 5px; }
    .countdown-item span:first-child { font-size: 1.8rem; }
    .countdown-item .label { font-size: 0.8rem; }
    .container { padding: 40px 20px; }
}
