﻿/* style.css */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to right, #2e3a57, #4f6a96);
    color: #f0f0f0;
    overflow-x: hidden; /* Prevent horizontal scrolling from body */
    overflow-y: auto; /* Allow vertical scrolling if content exceeds height */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    padding: 20px; /* Add some padding around the main container on smaller screens */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

/* Animated Background Styles */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Crucial to contain animated shapes */
    z-index: -1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: moveShape 20s linear infinite, rotateShape 15s linear infinite;
    opacity: 0.7;
    filter: blur(5px);
}

/* Different shape sizes and starting positions - adjust for responsive scale */
.shape-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation-duration: 25s, 18s;
    animation-delay: 0s, 0s;
}
.shape-2 {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-duration: 20s, 10s;
    animation-delay: 2s, 1s;
    border-radius: 10px;
}
.shape-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 70%;
    animation-duration: 30s, 20s;
    animation-delay: 5s, 3s;
}
.shape-4 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 90%;
    animation-duration: 18s, 12s;
    animation-delay: 1s, 4s;
    border-radius: 0;
    transform: rotate(45deg);
}
.shape-5 {
    width: 120px;
    height: 120px;
    top: 5%;
    left: 40%;
    animation-duration: 22s, 16s;
    animation-delay: 3s, 2s;
}
.shape-6 {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 55%;
    animation-duration: 28s, 14s;
    animation-delay: 6s, 0.5s;
    border-radius: 20px;
}

/* Animation Keyframes */
@keyframes moveShape {
    0% { transform: translate(0, 0); }
    25% { transform: translate(calc(50vw - 100%), calc(50vh - 100%)); }
    50% { transform: translate(0, calc(100vh - 100%)); }
    75% { transform: translate(calc(100vw - 100%), 0); }
    100% { transform: translate(0, 0); }
}

@keyframes rotateShape {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fast animation on hover/mouse enter */
.animated-background.fast-animation .shape {
    animation-duration: 10s, 8s;
}

.container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    height: 80vh; /* Keep for desktop, adjust for mobile */
    min-height: 500px; /* Keep for desktop, adjust for mobile */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: filter 0.3s ease-in-out;
    z-index: 1;
}

.left-panel,
.right-panel {
    flex: 1;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.left-panel {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.right-panel {
    background: url('https://i.hizliresim.com/ke9bbl4.jpg') center/cover no-repeat;
    position: relative;
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px; /* Butonlar arası boşluk */
    margin-top: 25px; /* Tahmini açılış süresi ile butonlar arası boşluk */
}

.social-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-btn img {
    width: 24px; /* Logo boyutu */
    height: 24px;
    margin-right: 10px; /* Logo ile yazı arası boşluk */
}

.discord-btn {
    background-color: #7289DA; /* Discord mavisi */
}

.discord-btn:hover {
    background-color: #677BC4;
    transform: translateY(-2px);
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); /* Instagram renkleri */
}

.instagram-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.logo {
    background-image: url('https://media.discordapp.net/attachments/1352584552178122752/1352589407751770215/image.png?ex=6858834c&is=685731cc&hm=d7b66920b6bfaf54c90a06ecc1aa1fd3c3f0fba427421971a7a008e334ee31b5&=&format=png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 280px;
    height: 120px;
    margin-bottom: 40px;
}

.staff-btn {
    background: linear-gradient(to right, #2e3a57, #4f6a96);
    color: #f0f0f0;
    padding: 14px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    position: absolute;
    top: 25px;
    right: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.staff-btn:hover {
    background: linear-gradient(to right, #4f6a96, #2e3a57);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.info-box {
    max-width: 550px;
    margin: auto;
    text-align: center;
    padding: 20px;
}

.info-box h1 {
    font-size: 3em;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.info-box p {
    font-size: 1.15em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.countdown {
    margin-top: 35px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

#timer {
    font-size: 2.2em;
    font-weight: bold;
    color: #ffda6a;
    margin-top: 15px;
    letter-spacing: 2px;
}

.status-box {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px 40px;
    border-radius: 15px;
    backdrop-filter: blur(6px);
    max-width: 450px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.status-box h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

/* New Progress Bar Container */
.progress-bar-container {
    width: 100%;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    border-radius: 10px;
    transition: width 1s ease-in-out;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.1) 10px,
        transparent 10px,
        transparent 20px
    );
    animation: progress-stripes 2s linear infinite;
    opacity: 0.3;
}

@keyframes progress-stripes {
    from { background-position: 0 0; }
    to { background-position: 40px 0; }
}

.progress-list {
    list-style: none;
    padding: 0;
    text-align: left;
    width: 100%;
}

.progress-list li {
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-size: 1.1em;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.progress-list li:last-child {
    margin-bottom: 0;
}

.progress-list li:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.status-icon {
    margin-right: 15px;
    font-size: 1.4em;
    line-height: 1;
    flex-shrink: 0;
}

.progress-list li .item-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    background-color: #00bcd4;
    width: 0%;
    transition: width 0.8s ease-out;
    border-radius: 0 0 10px 10px;
}

.progress-list li.done .status-icon {
    color: #66bb6a;
}

.progress-list li.loading .status-icon {
    color: #ffeb3b;
    animation: spin 1.5s linear infinite;
}

.progress-list li.pending .status-icon {
    color: #bdbdbd;
}

/* Keyframe for spin animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Keyframe for pulse animation (kept for overall timer, but not for list items) */
@keyframes pulse {
    from { opacity: 1; }
    to { opacity: 0.7; }
}

/* --- MODAL STYLING (MODERNIZED) --- */
.modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #2b3b57;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-button {
    color: #a0a0a0;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: normal;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.close-button:hover,
.close-button:focus {
    color: #fff;
    transform: rotate(90deg);
}

.modal-content h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    font-size: 1.8em;
    font-weight: 600;
    letter-spacing: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #c0c0c0;
    font-weight: 500;
    font-size: 1em;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #4a5d7c;
    border-radius: 8px;
    background-color: #223046;
    color: #fff;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Placeholder styling */
.form-group input::placeholder {
    color: #889bb8;
    opacity: 0.7;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #6a90ec;
    box-shadow: 0 0 10px rgba(106, 144, 236, 0.5);
    background-color: #273750;
}

.login-submit-btn {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    font-size: 1.1em;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.login-submit-btn:hover {
    background: linear-gradient(to right, #0056b3, #007bff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

.error-message {
    color: #ff9999;
    text-align: center;
    margin-top: 20px;
    font-weight: normal;
    font-size: 0.95em;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.error-message.show {
    opacity: 1;
}

/* Notification Slide Styling */
.notification-slide {
    position: fixed;
    top: 30px;
    right: -400px;
    background-color: #28a745;
    color: white;
    padding: 18px 30px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: right 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
    opacity: 0;
    visibility: hidden;
    max-width: 350px;
    font-size: 1.1em;
}

.notification-slide.show {
    right: 30px;
    opacity: 1;
    visibility: visible;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        padding: 15px; /* Adjust body padding for smaller screens */
    }

    .container {
        flex-direction: column;
        height: auto; /* Allow height to adjust to content */
        min-height: unset; /* Remove fixed min-height for mobile */
        border-radius: 0; /* Optional: make it full width on mobile */
        width: 100%;
        max-width: 100%;
        box-shadow: none; /* Reduce box-shadow on very small screens */
    }

    .left-panel,
    .right-panel {
        padding: 30px;
        height: auto; /* Allow panels to grow based on content */
        min-height: 250px; /* Ensure minimum height for panels */
        border-right: none;
    }

    .left-panel {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .staff-btn {
        position: static;
        margin-bottom: 20px;
        width: 100%; /* Make button full width or set max-width */
        max-width: 250px; /* Optional: limit max-width even at full width */
        margin-left: auto;
        margin-right: auto;
    }

    .logo {
        width: 200px;
        height: 80px;
        margin-bottom: 20px;
    }

    .info-box {
        max-width: 100%; /* Allow info-box to take full width */
        padding: 15px;
    }

    .info-box h1 {
        font-size: 2.2em;
    }

    .info-box p {
        font-size: 1em;
    }

    .countdown {
        margin-top: 25px;
        padding: 15px;
    }

    #timer {
        font-size: 1.8em; /* Adjusted for smaller screens */
    }

    .status-box {
        max-width: 100%; /* Allow status-box to take full width */
        padding: 25px;
    }

    .status-box h2 {
        font-size: 1.5em;
    }

    .progress-list li {
        font-size: 1em;
        padding: 12px 15px;
        margin-bottom: 10px;
    }

    .status-icon {
        font-size: 1.2em;
    }

    .modal-content {
        padding: 30px;
        margin: 15px;
    }

    .modal-content h2 {
        font-size: 1.6em;
    }

    .form-group label {
        font-size: 0.95em;
    }

    .form-group input {
        padding: 12px 14px;
        font-size: 0.95em;
    }

    .login-submit-btn {
        font-size: 1em;
        padding: 12px 25px;
    }

    .notification-slide {
        top: 15px; /* Adjust notification position for mobile */
        right: 15px;
        left: 15px; /* Allow it to stretch across the width */
        max-width: unset; /* Remove max-width on mobile */
        font-size: 0.95em;
        padding: 15px 20px;
    }
    .notification-slide.show {
        right: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .left-panel,
    .right-panel {
        padding: 20px;
        min-height: 200px; /* Further reduce min-height for very small screens */
    }

    .info-box h1 {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .info-box p {
        font-size: 0.9em;
        margin-bottom: 20px;
    }

    .countdown {
        margin-top: 15px;
        padding: 10px;
    }

    #timer {
        font-size: 1.4em;
    }

    .staff-btn {
        padding: 10px 20px;
        font-size: 0.95em;
        max-width: 200px; /* Smaller max-width for staff button */
    }

    .logo {
        width: 150px;
        height: 60px;
        margin-bottom: 15px;
    }

    .status-box {
        padding: 20px;
    }

    .status-box h2 {
        font-size: 1.3em;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }

    .progress-list li {
        font-size: 0.9em;
        padding: 10px 12px;
        margin-bottom: 8px;
    }

    .status-icon {
        font-size: 1.1em;
        margin-right: 10px;
    }

    .modal-content {
        padding: 25px;
        margin: 10px;
    }

    .modal-content h2 {
        font-size: 1.4em;
        margin-bottom: 20px;
    }

    .close-button {
        font-size: 28px;
        top: 10px;
        right: 15px;
    }

    .form-group label {
        font-size: 0.9em;
    }

    .form-group input {
        padding: 10px 12px;
        font-size: 0.9em;
    }

    .login-submit-btn {
        font-size: 0.95em;
        padding: 10px 20px;
    }

    .notification-slide {
        padding: 12px 15px;
        font-size: 0.9em;
    }
}

/* Base variables for gradients */
:root {
    --custom-gradient-color-1: #a9c9ff;
    --custom-gradient-color-2: #ffbbec;
    --custom-gradient-color-3: #ffc3a0;
}

@keyframes gradientHareket {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes parlamaEfekti {
    0% { text-shadow: 0 0 3px rgba(255, 255, 255, 0.4), 0 0 6px rgba(255, 255, 255, 0.2); }
    50% { text-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 12px rgba(255, 255, 255, 0.4); }
    100% { text-shadow: 0 0 3px rgba(255, 255, 255, 0.4), 0 0 6px rgba(255, 255, 255, 0.2); }
}

.bakimdayiz-text {
    font-size: 3em;
    font-weight: bold;
    background: linear-gradient(to right, var(--custom-gradient-color-1), var(--custom-gradient-color-2), var(--custom-gradient-color-3), var(--custom-gradient-color-2), var(--custom-gradient-color-1));
    background-size: 400% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientHareket 4s ease-in-out infinite;
}

@keyframes conicGradientDonus {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.bakimdayiz-text-conic {
    font-size: 3em;
    font-weight: bold;
    background: conic-gradient(from 0deg at 50% 50%, #ee9ca7, #ffdde1, #ee9ca7);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: conicGradientDonus 4s linear infinite alternate;
}
