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

/* Body */
body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    font-family: 'Bebas Neue', 'Playfair Display', 'Cinzel', 'Lato', sans-serif;
}

/* Main Section (Header + Content + Background) */
.main-final {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-image: url('../assets/djtgst1.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: brightness(0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Header (Title, Tribute, Contract, Social Buttons) */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 40vw;
    max-height: 80vh;
    padding: 1rem;
    z-index: 1;
    position: relative;
}

.header-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6vw;
    max-font-size: 4rem;
    font-weight: 400;
    background: linear-gradient(to right, #FFD700, #C7A008);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    text-shadow: 0 0 6px #FFD700, 0 0 12px rgba(255, 255, 255, 0.3);
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    transition: transform 0.3s ease;
    text-align: center;
    position: relative;
}

.header-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(218, 165, 32, 0.2));
    z-index: -1;
    border-radius: 5px;
}

.header-title:hover {
    transform: scale(1.05);
}

.tribute-contract-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.5rem;
}

.tribute-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2vw;
    max-font-size: 1.2rem;
    font-weight: 400;
    text-align: center;
    max-width: 90%;
    background: linear-gradient(to right, #FFD700, #E0B520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.5px #FFFFFF;
    text-shadow: 0 0 6px #FFD700, 0 0 12px rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1rem;
    position: relative;
}

.tribute-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(218, 165, 32, 0.2));
    z-index: -1;
    border-radius: 5px;
}

.tribute-text a {
    background: linear-gradient(to right, #FFD700, #E0B520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: -webkit-text-fill-color 0.3s ease;
}

.tribute-text a:hover {
    -webkit-text-fill-color: #FFFFFF;
}

.contract-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
    position: relative;
}

.contract-button {
    font-family: 'Cinzel', serif;
    font-size: 1.2vw;
    max-font-size: 0.7rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.4rem 0.8rem;
    border: 0.5px solid #DAA520;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    background: linear-gradient(to right, #DAA520, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.5px #FFFFFF;
    text-shadow: 0 0 6px #FFD700, 0 0 12px rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.contract-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(218, 165, 32, 0.2));
    z-index: -1;
    border-radius: 4px;
}

.contract-button:hover {
    background: linear-gradient(to right, rgba(255, 215, 0, 0.4), rgba(218, 165, 32, 0.4));
    -webkit-text-fill-color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.4);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-button {
    width: 70px;
    height: auto;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-button:hover {
    transform: scale(1.2);
    box-shadow: 0 0 8px -2px #FFD700;
}

/* PC Styles */
@media (min-width: 769px) {
    .main-final {
        background-size: cover;
        background-position: center center;
        background-attachment: fixed;
    }
    .header {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 1rem;
        max-width: 40vw;
        max-height: 80vh;
        align-items: center;
        text-align: center;
    }
    .header-title {
        font-size: 6vw;
        max-font-size: 4rem;
    }
    .tribute-text {
        font-size: 2vw;
        max-font-size: 1.2rem;
    }
    .contract-button {
        font-size: 1.2vw;
        max-font-size: 0.7rem;
        min-width: 20vw;
    }
    .contract-address {
        margin-top: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .main-final {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        background-image: url('../assets/djtgst1.png');
        background-size: cover;
        background-position: calc(70% - 20px) 0%;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-color: #000000;
        min-height: 100vh;
    }
    .header {
        max-width: 90vw;
        max-height: 80vh;
        margin: 2.5rem auto; /* Bloc légèrement baissé */
        padding: 1rem;
        align-items: center;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }
    .tribute-contract-container {
        margin-left: 0;
        margin-top: 1rem;
        align-items: center;
    }
    .tribute-text {
        font-size: 5vw;
        max-font-size: 1.4rem;
        -webkit-text-stroke: 0.5px #FFFFFF;
        text-shadow: 0 0 6px #FFD700, 0 0 12px rgba(255, 255, 255, 0.3);
    }
    .contract-address {
        align-items: center;
        margin-top: 1.5rem;
    }
    .header-title {
        font-size: 9vw; /* Titre DJTGS légèrement plus grand */
        max-font-size: 4rem;
    }
    .header-title::before {
        top: 0;
        left: -5%; /* plus de largeur à gauche et droite */
        width: 110%; /* overlay un peu plus large que le texte */
        height: 100%;
        background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(218,165,32,0.2));
        border-radius: 5px;
    }
    .contract-button {
        font-size: 2.5vw;
        max-font-size: 0.7rem;
        min-width: 60vw;
        padding: 0.4rem 0.8rem;
        background: none;
        border: 0.5px solid #DAA520;
        -webkit-text-stroke: 0.5px #FFFFFF;
        text-shadow: 0 0 6px #FFD700, 0 0 12px rgba(255, 255, 255, 0.3);
    }
    .social-buttons {
        margin-top: 1.5rem;
        gap: 1rem;
    }
    .social-button {
        width: 60px;
        border-radius: 50%;
    }
    .social-button:hover {
        transform: scale(1.2);
        box-shadow: 0 0 8px -2px #FFD700;
    }
}

@media (max-width: 480px) {
    .main-final {
        background-size: cover;
        background-position: calc(70% - 20px) 0%;
    }
    .header-title {
        font-size: 8vw; 
        max-font-size: 3.5rem;
    }
    .tribute-text {
        font-size: 4.5vw;
        max-font-size: 1.2rem;
    }
    .contract-button {
        font-size: 2vw;
        max-font-size: 0.6rem;
        min-width: 70vw;
    }
    .social-button {
        width: 50px;
        border-radius: 50%;
    }
    .social-button:hover {
        transform: scale(1.2);
        box-shadow: 0 0 8px -2px #FFD700;
    }
}
