* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes shadowGlow {
    0% {
        text-shadow: 
            2px 2px 0px rgba(0, 0, 0, 0.9),
            4px 4px 0px rgba(0, 0, 0, 0.5),
            1px 1px 3px rgba(212, 175, 55, 0.2),
            -1px -1px 3px rgba(212, 175, 55, 0.1);
    }
    50% {
        text-shadow: 
            3px 3px 0px rgba(0, 0, 0, 0.9),
            6px 6px 0px rgba(0, 0, 0, 0.6),
            2px 2px 6px rgba(212, 175, 55, 0.5),
            -2px -2px 6px rgba(212, 175, 55, 0.3);
    }
    100% {
        text-shadow: 
            2px 2px 0px rgba(0, 0, 0, 0.9),
            4px 4px 0px rgba(0, 0, 0, 0.5),
            1px 1px 3px rgba(212, 175, 55, 0.2),
            -1px -1px 3px rgba(212, 175, 55, 0.1);
    }
}

body {
    font-family: 'Arial', sans-serif;
    background: rgba(40, 20, 10, 10) url('img/pirate_mapbg.jpg') center/cover fixed; 
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 0, 0, 0.3);
    z-index: -1;
}

.logo-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 1000;
}

.logo-text {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #d4af37;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    transform: skewX(-5deg);
    animation: shadowGlow 3s ease-in-out infinite;
    filter: drop-shadow(8px 8px 0px rgba(0, 0, 0, 0.7)) drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.5));
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: 120px;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    width: 100%;
    background: rgba(40, 20, 10, 0.85);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    border: 3px solid rgba(139, 90, 43, 0.6);
}

.left-panel {
    background: linear-gradient(135deg, rgba(40, 20, 10, 0.95) 0%, rgba(20, 10, 5, 0.95) 100%);
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid rgba(139, 90, 43, 0.4);
}

.content {
    max-width: 400px;
    width: 100%;
}

.subtitle {
    color: #d4af37;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #ffffff;
}

.highlight {
    color: #d4af37;
    display: block;
    font-size: 44px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

.description {
    font-size: 16px;
    color: #b8c5d6;
    margin-bottom: 30px;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-field {
    width: 100%;
    padding: 15px 20px;
    background: rgba(60, 40, 20, 0.6);
    border: 2px solid rgba(139, 90, 43, 0.5);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(80, 50, 30, 0.7);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.subscribe-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border: none;
    border-radius: 8px;
    color: #1a0f05;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #b8c5d6;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.link {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link:hover {
    color: #f4d03f;
}

.privacy-text,
.age-text {
    font-size: 12px;
    color: #8a96a8;
    text-align: center;
}

.privacy-text {
    margin-top: 10px;
}

.age-text {
    margin-top: 5px;
    font-weight: 600;
}

.right-panel {
    background: url('img/pirate_mapbg.jpg') center/cover, linear-gradient(135deg, rgba(60, 40, 20, 0.8) 0%, rgba(40, 25, 15, 0.9) 100%);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pirate-graphics {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pirate-characters {
    max-width: 100%;
    max-height: 750px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
    animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}


.footer {
    background: linear-gradient(135deg, rgba(40, 20, 10, 0.95) 0%, rgba(20, 10, 5, 0.95) 100%);
    padding: 0;
    position: relative;
    border-top: 3px solid rgba(139, 90, 43, 0.6);
}

.toggle-footer {
    width: 100%;
    padding: 15px 20px;
    background: rgba(139, 90, 43, 0.2);
    border: none;
    color: #d4af37;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.toggle-footer:hover {
    background: rgba(139, 90, 43, 0.3);
}

.arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.arrow.rotated {
    transform: rotate(180deg);
}

.footer-content {
    padding: 30px 50px;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.footer-content.hidden {
    max-height: 0;
    padding: 0 50px;
}

.footer-header {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
}

.footer-text {
    font-size: 12px;
    line-height: 1.8;
    color: #b8c5d6;
    text-align: justify;
}

.footer-link {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #f4d03f;
}

.img-21 {
    width: 60px;
    height: auto;
    display: block;
    margin: 20px auto 0 auto;
}

.overlay-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.overlay-container.visible {
    display: flex;
}

.popup {
    background: linear-gradient(135deg, rgba(40, 20, 10, 0.98) 0%, rgba(20, 10, 5, 0.98) 100%);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 3px solid rgba(139, 90, 43, 0.8);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    position: relative;
    animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    animation: checkmarkPulse 0.6s ease-out;
}

@keyframes checkmarkPulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.checkmark span {
    font-size: 48px;
    color: #1a0f05;
    font-weight: bold;
}

.popup .content h1 {
    font-size: 32px;
    color: #d4af37;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.popup .content p {
    font-size: 18px;
    color: #b8c5d6;
    margin-bottom: 30px;
    line-height: 1.6;
}

.popup .content .button {
    padding: 16px 40px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border: none;
    border-radius: 8px;
    color: #1a0f05;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    display: inline-block;
}

.popup .content .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
}

#bonusLink {
    display: none;
}

.thankyou-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.thankyou-modal-content {
    background: linear-gradient(135deg, rgba(40, 20, 10, 0.98) 0%, rgba(20, 10, 5, 0.98) 100%);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 3px solid rgba(139, 90, 43, 0.8);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    position: relative;
}

.thankyou-modal-content h2 {
    font-size: 32px;
    color: #d4af37;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.thankyou-modal-content p {
    font-size: 18px;
    color: #b8c5d6;
    margin-bottom: 30px;
    line-height: 1.6;
}

.thankyou-btn {
    padding: 16px 40px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border: none;
    border-radius: 8px;
    color: #1a0f05;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.thankyou-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
}

@media (max-width: 968px) {
    .logo-header {
        text-align: center;
        padding: 15px 20px;
    }
    
    .logo-text {
        font-size: 40px;
        letter-spacing: 2px;
    }

    .container {
        padding-top: 100px;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .left-panel {
        padding: 40px 30px;
        border-right: none;
    }
    
    .right-panel {
        min-height: 300px;
    }
    
    .title {
        font-size: 36px;
    }
    
    .highlight {
        font-size: 40px;
    }
    
    .footer-content {
        padding: 20px 30px;
    }
}

@media (max-width: 480px) {
    .logo-header {
        padding: 22px 15px;
    }
    
    .logo-text {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .container {
        padding: 15px;
        padding-top: 90px;
    }
    
    .hero-section {
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    }
    
    .left-panel {
        padding: 30px 20px;
    }
    
    .right-panel {
        min-height: 250px;
        padding: 20px;
    }
    
    .content {
        max-width: 100%;
    }
    
    .title {
        font-size: 28px;
    }
    
    .highlight {
        font-size: 32px;
    }

    .input-field {
        padding: 12px 15px;
        font-size: 16px;
    }

    .subscribe-btn {
        padding: 14px;
        font-size: 14px;
    }
    
    .footer-content {
        padding: 15px 20px;
    }
    
    .footer-text {
        font-size: 11px;
    }

    .checkbox-container {
        font-size: 12px;
    }

    .privacy-text,
    .age-text {
        font-size: 11px;
    }
}
