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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
}

/* Header */
.main-header {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    border-bottom: 2px solid #00ff88;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    color: #00ff88;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo img {
    max-width: 128px;
    height: auto;
    display: block;
}

.age-warning {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff4444;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

.age-18 {
    font-weight: bold;
    font-size: 1.2rem;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.header-nav a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.header-nav a:hover {
    color: #00ff88;
}

/* Main content */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Hero section */
.hero-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1;
    min-width: 300px;
}

.character-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.character-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.hero-right {
    flex: 2;
    min-width: 300px;
}

.hero-right h2 {
    color: #00ff88;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.hero-right p {
    color: #cccccc;
    margin-bottom: 2rem;
}

/* Ranking cards */
.ranking-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ranking-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #00ff88;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ranking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.ranking-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rank-number {
    background: #00ff88;
    color: #1a1a2e;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.operator-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #00ff88;
}

.operator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-info h3 {
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.score {
    color: #00ff88;
    font-size: 0.9rem;
}

.bonus-offer {
    color: #cccccc;
    margin-bottom: 1rem;
    font-style: italic;
}

.action-btn {
    background: #00ff88;
    color: #1a1a2e;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.action-btn:hover {
    background: #00cc6a;
    text-decoration: none;
}

/* Logos section */
.logos-section {
    margin: 3rem 0;
    text-align: center;
}

.logos-section h3 {
    color: #00ff88;
    margin-bottom: 1.5rem;
}

.logos-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid #00ff88;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
    text-decoration: none;
}

.logo-item img {
    max-width: 120px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.logo-item:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-3px);
}

/* Page content */
.page-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid #00ff88;
}

.about-section {
    margin-bottom: 2rem;
}

.about-section h2 {
    color: #00ff88;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.about-section p {
    color: #cccccc;
    line-height: 1.8;
}

/* Contact section */
.contact-section {
    margin-bottom: 3rem;
}

.contact-section h2 {
    color: #00ff88;
    margin-bottom: 1.5rem;
}

.messenger-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.messenger-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.viber-btn {
    background: #7360f2;
    color: white;
}

.viber-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(115, 96, 242, 0.4);
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

/* Contact form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #00ff88;
    border-radius: 10px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #00ff88;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #00ff88;
    border-radius: 5px;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00cc6a;
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    display: block;
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    min-height: 1.2em;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff4444;
}

.submit-btn {
    background: #00ff88;
    color: #1a1a2e;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #00cc6a;
    transform: translateY(-2px);
}

/* Success modal */
.success-modal {
    text-align: center;
}

.success-icon {
    background: #00ff88;
    color: #1a1a2e;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.page-content h1 {
    color: #00ff88;
    margin-bottom: 1.5rem;
}

.page-content h2 {
    color: #00ff88;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content p {
    color: #cccccc;
    margin-bottom: 1rem;
}

.page-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.page-content li {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.page-content a {
    color: #00ff88;
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

/* Footer */
.main-footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 2px solid #00ff88;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #00ff88;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #00ff88;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.legal-notice {
    font-size: 0.85rem;
    color: #999999;
}

/* Popups */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.popup-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #00ff88;
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.3);
}

.popup-content h2 {
    color: #00ff88;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.popup-content p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.popup-content a {
    color: #00ff88;
    text-decoration: underline;
}

.age-icon {
    background: #ff4444;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    border: 3px solid #00ff88;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.popup-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    font-size: 1rem;
}

.popup-btn:hover {
    transform: translateY(-2px);
}

.popup-btn-accept {
    background: #00ff88;
    color: #1a1a2e;
}

.popup-btn-accept:hover {
    background: #00cc6a;
}

.popup-btn-decline {
    background: #ff4444;
    color: white;
}

.popup-btn-decline:hover {
    background: #cc3333;
}

.popup-btn-customize {
    background: transparent;
    color: #00ff88;
    border: 1px solid #00ff88;
}

.popup-btn-customize:hover {
    background: rgba(0, 255, 136, 0.1);
}

.cookie-overlay {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    height: auto;
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid #00ff88;
    z-index: 9999;
    padding: 1rem;
    align-items: flex-end;
    justify-content: center;
}

.cookie-popup-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: none;
    border-radius: 0;
    padding: 1.5rem;
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    text-align: left;
    box-shadow: none;
}

.cookie-popup-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #00ff88;
}

.cookie-popup-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    flex: 1;
}

.cookie-popup-content .popup-buttons {
    flex-wrap: nowrap;
    gap: 0.75rem;
}

.cookie-popup-content .popup-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-text {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-popup-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-popup-content .popup-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-section {
        flex-direction: column;
    }

    .character-image {
        height: 300px;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .logos-container {
        flex-direction: column;
        gap: 1rem;
    }
}