:root {
    --red: #bf0a30;
    --blue: #002868;
    --white: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(45deg, var(--red), var(--white), var(--blue));
    background-size: 200% 200%;
    min-height: 100vh;
    animation: stripes 15s linear infinite;
    padding-bottom: 80px;
    position: relative;
}

.header {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 5px solid var(--red);
}

h1 {
    color: var(--blue);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: wave 3s ease-in-out infinite;
}

.subtitle {
    color: var(--red);
    font-size: 1.5rem;
    font-weight: bold;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    margin-bottom: 100px;
}

.claim-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.claim-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.usa-button {
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    margin: 1rem 0;
    text-transform: uppercase;
    font-weight: bold;
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}

.usa-button:hover {
    transform: scale(1.05);
    background-color: var(--blue);
}

.usa-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: 0.5s;
    opacity: 0;
}

.usa-button:hover::after {
    opacity: 1;
    transform: rotate(45deg) translateX(50%);
}

.hidden {
    display: none;
}

.airdrop-amount {
    font-size: 2rem;
    color: var(--blue);
    margin: 1rem 0;
    position: relative;
}

.airdrop-amount::before {
    content: '🌟';
    position: absolute;
    left: -30px;
    animation: stars 2s infinite;
}

.airdrop-amount::after {
    content: '🌟';
    position: absolute;
    right: -30px;
    animation: stars 2s infinite;
    animation-delay: 1s;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    box-sizing: border-box;
}

/* Ajout des keyframes pour les animations */
@keyframes stripes {
    0% { background-position: 0 0; }
    100% { background-position: 100% 0; }
}

@keyframes stars {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

/* Animation du titre */
h1 🇺🇸, h1 🦅, footer 🦅 {
    display: inline-block;
    animation: stars 4s infinite;
}

/* Animation pour l'apparition de la section claim */
#claimSection {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
}

#claimSection:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

/* Styles pour l'image de Trump */
.trump-container {
    text-align: center;
    margin: 20px auto;
    max-width: 300px;
}

.trump-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
    animation: trumpFloat 3s ease-in-out infinite;
}

@keyframes trumpFloat {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Styles pour la bannière d'avertissement */
.warning-banner {
    margin-top: 20px;
    padding: 10px;
    cursor: pointer;
    position: relative;
}

.warning-text {
    background: var(--red);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

.warning-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background: linear-gradient(
        45deg,
        var(--red) 0%,
        var(--white) 50%,
        var(--blue) 100%
    );
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.warning-content p {
    color: var(--blue);
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 1px 1px 1px var(--white);
}

.warning-banner:hover .warning-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(191, 10, 48, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(191, 10, 48, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(191, 10, 48, 0);
    }
}

/* Styles pour le token name */
.token-info {
    margin: 20px 0;
}

.token-name {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--red);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: glow 2s ease-in-out infinite;
}

.token-subtitle {
    display: block;
    font-size: 1.2rem;
    color: var(--blue);
    margin-top: 10px;
}

/* Styles pour le FOMO box */
.fomo-box {
    margin-top: 30px;
    padding: 20px;
    border: 3px dashed var(--red);
    border-radius: 10px;
    animation: borderPulse 2s infinite;
}

.fomo-timer {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--red);
    margin-bottom: 15px;
    animation: shake 0.5s infinite;
}

.fomo-message p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.fomo-highlight {
    color: var(--blue);
    font-weight: bold;
    font-size: 1.3rem !important;
    text-transform: uppercase;
}

.fomo-warning {
    color: var(--red);
    font-weight: bold;
    animation: flash 1s infinite;
}

@keyframes glow {
    0% { text-shadow: 0 0 5px rgba(191, 10, 48, 0.5); }
    50% { text-shadow: 0 0 20px rgba(191, 10, 48, 0.8); }
    100% { text-shadow: 0 0 5px rgba(191, 10, 48, 0.5); }
}

@keyframes borderPulse {
    0% { border-color: var(--red); }
    50% { border-color: var(--blue); }
    100% { border-color: var(--red); }
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

@keyframes flash {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Styles pour le smart contract */
.contract-display {
    margin: 20px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
}

.contract-label {
    display: block;
    font-size: 0.9rem;
    color: var(--blue);
    margin-bottom: 5px;
}

.contract-address {
    position: relative;
    display: inline-block;
    padding: 8px 15px;
    background: #f0f0f0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.address-text {
    font-family: monospace;
    font-size: 1rem;
    color: var(--blue);
}

.contract-address:hover {
    background: linear-gradient(
        45deg,
        var(--red),
        var(--white),
        var(--blue)
    );
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
    transform: scale(1.02);
}

.contract-address:hover .address-text {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hover-info {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(
        45deg,
        var(--red),
        var(--white),
        var(--blue)
    );
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    width: 200px;
    margin-top: 10px;
}

.hover-info p {
    color: var(--blue);
    margin: 5px 0;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 1px white;
}

.contract-address:hover .hover-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Media Queries pour la responsivité */
@media screen and (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .container {
        padding: 0.5rem;
        margin: 1rem auto;
    }

    .claim-box {
        padding: 1rem;
    }

    .token-name {
        font-size: 2rem;
    }

    .token-subtitle {
        font-size: 1rem;
    }

    .fomo-box {
        margin-top: 20px;
        padding: 15px;
    }

    .fomo-timer {
        font-size: 1.2rem;
    }

    .fomo-message p {
        font-size: 1rem;
    }

    .fomo-highlight {
        font-size: 1.1rem !important;
    }

    .contract-address {
        padding: 6px 10px;
    }

    .address-text {
        font-size: 0.8rem;
        word-break: break-all;
    }

    .hover-info {
        width: 90%;
    }
}

@media screen and (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .trump-container {
        max-width: 200px;
    }

    .usa-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .token-name {
        font-size: 1.8rem;
    }

    .airdrop-amount {
        font-size: 1.5rem;
    }

    .fomo-box {
        padding: 10px;
    }

    .warning-content {
        width: 90%;
        font-size: 0.9rem;
    }

    .warning-text {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .contract-display {
        margin: 15px 0;
    }

    .hover-info {
        padding: 10px;
    }

    .hover-info p {
        font-size: 0.9rem;
    }
}

/* Fix pour les très petits écrans */
@media screen and (max-width: 320px) {
    .header h1 {
        font-size: 1.2rem;
    }

    .trump-container {
        max-width: 150px;
    }

    .token-name {
        font-size: 1.5rem;
    }

    .usa-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .address-text {
        font-size: 0.7rem;
    }
}

/* Ajustements pour l'orientation paysage sur mobile */
@media screen and (max-height: 600px) and (orientation: landscape) {
    body {
        padding-bottom: 100px;
    }

    .header {
        padding: 1rem;
    }

    .trump-container {
        max-width: 150px;
    }

    .container {
        margin: 0.5rem auto;
    }

    footer {
        padding: 0.5rem;
        height: auto;
    }
}

/* Fix pour éviter le débordement horizontal */
* {
    max-width: 100%;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
} 