
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-image: url('../togg-cekilis-site.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    min-height: 100vh;

}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
}

.logo {
    text-align: center;
    margin-bottom: 0px;
    width: 100%;
}

.logo img {
    max-width: 280px;
}

.form-side {
    flex: 1;
    min-width: 320px;
    padding-right: 235px;
}

.image-side {
    flex: 1;
    min-width: 320px;
    display: flex;
    justify-content: flex-end;
    align-items: self-start;
}

.head-img img {
    width: 100%;
    margin: 2rem 0;
}

.heading {
    text-align: center;
    margin-bottom: 30px;
    color: #edc967;
    font-size: 48px;
    font-weight: bold;
    text-transform: uppercase;
}

.subheading {
    text-align: center;
    color: #edc967;
    font-size: 30px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.form-group {
    width: calc(50% - 15px);
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .form-group {
        width: 100%;
    }
}

.form-group.full-width {
    width: 100%;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.required::after {
    content: " *";
    color: #edc967;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.birth-date-select {
    display: flex;
    gap: 10px;
}

.birth-date-select select {
    flex: 1;
}

select {
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.checkbox-container input {
    margin-top: 3px;
}

/* Çekiliş koşulları link stilleri */
.checkbox-container label strong {
    color: #edc967;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.checkbox-container label strong:hover {
    color: #edc967;
    text-decoration: underline;
}

/* Alternatif olarak daha belirgin bir stil */
.terms-link {
    color: #dc2626;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.terms-link:hover {
    color: #b91c1c;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(220, 38, 38, 0.2);
}

.submit-button {
    background-color: #005a7f;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
    background-color: #003f58;
}
/* Popup Tarzı Başarılı Mesaj Stilleri */
.message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.message:not(:empty) {
    display: flex;
    opacity: 1;
}

.success-message {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.98) 0%, rgba(35, 95, 40, 0.98) 100%);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 40px 35px;
    text-align: center;
    animation: popupSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 3px solid #edc967;
    backdrop-filter: blur(10px);
}

.success-icon {
    font-size: 72px;
    margin-bottom: 25px;
    color: #edc967;
    display: inline-block;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    animation: iconBounce 1.2s ease-in-out;
}

.success-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.success-text {
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

/* Çekiliş Hakkı Mesajı için Özel Stil */
.success-draw-rights {
    background: linear-gradient(135deg, #edc967 0%, #d4af37 100%);
    color: #1a1a1a;
    padding: 18px 25px;
    border-radius: 12px;
    margin: 25px 0;
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 6px 20px rgba(237, 201, 103, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: goldPulse 2s ease-in-out infinite;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.success-info {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Kapat Butonu */
.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.close-button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Animasyonlar */
@keyframes popupSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(-50px);
    }
    60% {
        transform: scale(1.05) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes iconBounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}

@keyframes goldPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(237, 201, 103, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 30px rgba(237, 201, 103, 0.8);
        transform: scale(1.02);
    }
}

/* Hata Mesajları için */
.error {
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.98) 0%, rgba(160, 30, 30, 0.98) 100%);
    border: 3px solid #ff6b6b;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    animation: popupSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .success-message {
        padding: 30px 25px;
        max-width: 95%;
    }

    .success-title {
        font-size: 24px;
    }

    .success-text {
        font-size: 16px;
    }

    .success-draw-rights {
        font-size: 16px;
        padding: 15px 20px;
    }

    .success-icon {
        font-size: 60px;
    }
}
.prize-image {

    max-width: 44vw;
    height: 75vh;
    object-fit: contain;
    z-index: -1;
}

@media (max-width: 992px) {
    .container {
        flex-direction: column;
    }

    .form-side, .image-side {
        width: 100%;
        padding-right: 0;
    }

    .image-side {
        order: 1;
        margin-bottom: 30px;
        justify-content: center;
    }

    .prize-image {
        max-width: 95vw;
        height: 49vh;
        z-index: 1;
        margin-bottom: -40px;
    }
}

.privacy-text {
    font-size: 12px;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.7);
}

.privacy-link {
    color: #edc967;
    text-decoration: none;
}

/* "Ben robot değilim" için stil tanımlamaları */
.robot-check-container {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    padding: 12px;
}

.robot-check {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

#robot-check {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.3s;
}

.label-text {
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

/* Seçildiğinde gösterilecek tik işareti */
#robot-check:checked + label .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #4CAF50;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

#robot-check:checked + label .checkbox-custom {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.8);
}

.robot-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 12px;
    margin-left: 12px;
}

.robot-logo {
    display: flex;
    align-items: center;
}

.robot-icon {
    width: 24px;
    height: 24px;
    background-color: #2196F3;
    border-radius: 50%;
    position: relative;
    margin-bottom: 4px;
}

.robot-icon::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: white;
    top: 6px;
    left: 6px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 75% 100%, 75% 25%, 25% 25%, 25% 100%, 0% 100%);
}

.robot-text {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.robot-terms {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    cursor: pointer;
}

/* Hover durumunda stil değişimi */
.robot-check-container:hover .checkbox-custom {
    border-color: rgba(255, 255, 255, 0.6);
}

.robot-check-container:hover .label-text {
    color: rgba(255, 255, 255, 0.9);
}


/* Başarılı mesaj için geliştirilmiş stil */
.success-message {
    background-color: rgba(46, 125, 50, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: 25px 20px;
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
    margin: 20px auto;
    max-width: 600px;
    position: relative;
    border-left: 5px solid #edc967;
}

.success-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #edc967;
    display: inline-block;
}

.success-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.success-text {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.success-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* "Kapat" butonu stili */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-button:hover {
    color: #fff;
}


/* Footer Stilleri */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    padding: 40px 20px 20px;
    margin-top: 50px;
    border-top: 3px solid #d4af37;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.footer-button {
    background: linear-gradient(135deg, #005a7f 0%, #005a7f 100%);
    color: #ffffff;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgb(255 255 255 / 10%);
}

.footer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    color: #ccc;
    font-size: 12px;
}

.footer-logo {
    color: #d4af37;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Popup Stilleri */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.popup-content {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    max-height: 80vh;
    width: 90%;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-header {
    background: #cfa855;
    color: #fff;
    padding: 20px 30px;
    position: relative;
}

.popup-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-close {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1a1a1a;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.popup-close:hover {
    background: rgba(26, 26, 26, 0.1);
}

.popup-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

.popup-body h3 {
    color: #d4af37;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
}

.popup-body p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.popup-body ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.popup-body li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-buttons {
        grid-template-columns: 1fr;
    }

    .footer-button {
        font-size: 12px;
        padding: 12px 20px;
    }

    .popup-content {
        width: 95%;
        margin: 20px;
    }

    .popup-body {
        padding: 20px;
    }
}
