/* Site Public Styles */
:root {
    --bg-color: #000000;
    --box-bg-top: #240b16;   /* gradient top */
    --box-bg-bottom: #090306; /* gradient bottom */
    --btn-bg: #801d41;
    --btn-border: #ffb6c1;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent: #e83e8c;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../../uploads/fundosite.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    pointer-events: none;
}


.container {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    background: linear-gradient(180deg, rgba(36,11,22,0.85) 0%, rgba(9,3,6,0.85) 100%);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 0 50px rgba(232, 62, 140, 0.2);
    position: relative;
    backdrop-filter: blur(5px);
}

/* Flags top right */
.flags {
    position: absolute;
    top: 20px;
    right: -40px; /* Adjust based on exact design, it's outside the main box in image 1 */
    display: flex;
    gap: 5px;
}
.flags span { font-size: 16px; }

/* In the actual image, the box is centered, the flags are outside the box. 
   We will move flags inside container for better mobile support, but align right. */
.flags-mobile {
    text-align: right;
    margin-bottom: -10px;
}

.header-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    margin: 0 auto 20px;
    display: block;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(232, 62, 140, 0.6);
    animation: slowPulse 3s infinite alternate;
}

@keyframes slowPulse {
    0% { transform: scale(1); box-shadow: 0 0 15px rgba(232, 62, 140, 0.4); }
    100% { transform: scale(1.05); box-shadow: 0 0 25px rgba(232, 62, 140, 0.8); }
}

h1 {
    text-align: center;
    font-size: 24px;
    margin: 0 0 10px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.section-label {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    margin: 25px 0 10px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--btn-bg);
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 0 10px rgba(255,255,255,0.1), 0 2px 10px rgba(0,0,0,0.5);
    transition: transform 0.2s, filter 0.2s;
    animation: pulseBorder 1.5s infinite;
}

@keyframes pulseExtreme {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.9);
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 69, 0, 0);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0);
        transform: scale(1);
    }
}

.header-image-2 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #ff4500;
    margin-bottom: 20px;
    object-fit: cover;
    animation: pulseExtreme 1.2s infinite;
}

@keyframes pulseBorder {
    0% { box-shadow: 0 0 0 0 rgba(232, 62, 140, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(232, 62, 140, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 62, 140, 0); }
}

.btn-link:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* For the actual page footer */
.page-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding: 0 20px 20px;
    max-width: 800px;
    width: 100%;
}
.page-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 14px;
}
.page-footer-logo img { width: 20px; border-radius: 50%; }
.page-footer-links {
    text-align: right;
    font-size: 11px;
    color: #888;
    line-height: 1.6;
}

/* Previews Page specifics */
.preview-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(8px);
    min-height: 100vh;
}

.preview-header {
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.preview-header h2 {
    color: yellow; /* Adjust based on image text color */
    font-size: 18px;
    margin: 15px 0;
}

.preview-description {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.preview-description a {
    color: #00a8ff;
    text-decoration: none;
}

.content-block {
    margin-bottom: 30px;
}
.content-media {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid #555;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    display: block;
}

/* Video Loop Wrapper Styles */
.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 2px solid #555;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    background: #000;
    cursor: pointer;
}

.video-loop {
    width: 100%;
    display: block;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s;
}

.video-overlay:hover {
    background: rgba(0,0,0,0.1);
}

.play-button-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(128, 29, 65, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}

.video-overlay:hover .play-button-wrapper {
    transform: scale(1.1);
}


.content-info {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.btn-full {
    display: block;
    width: 100%;
    background: #801d41;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.4);
    animation: pulseBorder 1.5s infinite;
    transition: transform 0.2s;
}

.btn-full:hover {
    transform: scale(1.05);
}

.grid-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 15px;
}
.grid-images img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
}
