/* Variables globales */
:root {
    --primary-bg: #404040;
    --secondary-bg: #404040;
    --header-bg: #1a1a1a;
    --text-color: #fff;
    --accent-color: #4a90e2;
    --grid-bg: #454647;
    --card-bg: #1a1a1a ;
    --hover-color: #5a5a5a;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Principal */
.primary-header {
    background-color: var(--header-bg);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    background-image: url('/images/logo.png');
    background-repeat: no-repeat;
    background-size: contain; /* Ajouté pour s'assurer que l'image s'adapte */
    width: 150px;
 height: 60px;
    margin-bottom:  -15px;
        margin-top:  -5px;
}

.logo a {
text-indent: -9999px;
      font-size: 30px;
    font-weight: bold;
    display: block;
    text-decoration: none;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Boutons et Notifications */
.upload-btn, .notifications {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: -9px;
    background: red;
    color: white;
    border-radius: 60%;
    padding: 2px 8px;
    font-size: 12px;
}

/* Profil Utilisateur */
.user-profile {
    position: relative;
    cursor: pointer;
}

.profile-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0px 0px 1px 0px #C5BDA9;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--secondary-bg);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 250px;
    display: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.user-profile:hover .profile-dropdown {
    display: block;
}

.profile-dropdown a {
    display: block;
    padding: 8px 15px;
}
.user-info {
    padding: 10px 15px;
    border-bottom: 1px solid #fff;
    margin-bottom: 5px;
}

.user-info p {
    margin: 5px 0;
    font-size: 0.9em;
}

.profile-dropdown a:hover {
    background-color: var(--hover-color);
}

/* Ajout au CSS existant */
.profile-container {
    max-width: 1100px;
    margin: 20px auto;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
}

.profile-banner {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.profile-avatar {
    position: absolute;
    bottom: -50px;
    left: 30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid var(--card-bg);
    overflow: hidden;
    box-shadow: 0px 0px 15px 0px #C5BDA9;
   
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-content {
    padding: 80px 30px 30px;
}

.join-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.separator {
    height: 1px;
    background-color: #ffffff;
    margin-top:  20px ;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-header h1 {
	text-transform: capitalize;
    font-size: 2em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vip-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.5em;
    color: #000;
}
 .vip-expiry {
        font-size: 0.5em;
        color: #ffd700;
        margin-left: 5px;
    }

.settings-btn {
    background: var(--accent-color);
    padding: 8px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--header-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.facebook { color: #1877f2; }
.social-icon.instagram { color: #e4405f; }
.social-icon.flickr { color: #ff0084; }
.social-icon.secondlife img {
 height: 24px;
}
   .settings-container {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: var(--card-bg);
            border-radius: 8px;
        }

        .settings-container h1 {
            margin-bottom: 20px;
            color: var(--text-color);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            color: var(--text-color);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #333;
            border-radius: 4px;
            background-color: var(--primary-bg);
            color: var(--text-color);
        }

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

        .submit-btn {
            background-color: var(--accent-color);
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }

        .submit-btn:hover {
            background-color: #357abd;
        }

        .alert {
            padding: 10px;
            margin-bottom: 20px;
            border-radius: 4px;
        }

        .alert.success {
            background-color: #28a745;
            color: white;
        }

        .alert.error {
            background-color: #dc3545;
            color: white;
        }


/* Footer */
.footer {
    background-color: var(--header-bg);
    color: var(--text-color);
    text-align: center;
    padding: 15px;
    margin-top: auto;
}
/* Styles pour le modal de connexion */
.login-btn {
    padding: 8px 16px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
}
        .gallery-input input {
        width: 100%;
            padding: 8px 12px;
            border: 1px solid #333;
            border-radius: 4px;
            background-color: var(--primary-bg);
            color: var(--text-color);
            margin-bottom: 10px;
        }


        .section-title {
            font-size: 1.5em;
            margin: 20px;
 
        }
		
		
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin-top: 15px;
        }

        .gallery-item {
            position: relative;
            aspect-ratio: 1.3;
            overflow: hidden;
            border-radius: 8px;
            background: #e9ecef;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
        }



.points-progress-section {
    margin: 20px 0;
    max-width: 450px;
}

.points-label {
	 width: 500px;
    font-size: 13px;
    margin-bottom:3px;
    margin-top: 5px;
    color: #fff;
}

.progress-bar-container {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
    position: relative;
}

.progress-value {
    height: 100%;
    background: #56ab2f;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: width 0.9s ease-in-out;
}

.liquid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:linear-gradient(90deg, rgba(86,171,47,1) 0%, rgba(0,255,7,1) 49%, rgba(198,255,0,1) 100%);
    animation: wave 3s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes wave {
    0% {
        transform: translateX(-100%) scaleX(1);
    }
    50% {
        transform: translateX(0%) scaleX(1.1);
    }
    100% {
        transform: translateX(100%) scaleX(1);
    }
}





/* Gift Request Button Styles */

.button.disabled {
    opacity: 1;
    cursor: not-allowed;
    pointer-events: none;
    background: #808080;
}

.button.disabled::before,
.button.disabled::after {
    background: #808080;
}

.button.disabled .fold {
    background: #808080;
}

.button.disabled .points_wrapper {
    display: none;
}

.button.disabled .inner {
    color: #ccc;
}

.button.disabled .icon {
    stroke: #ccc;
}

.button {
  --h-button: 48px;
  --w-button: 102px;
  --round: 0.75rem;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.25s ease;
  background: radial-gradient(
      65.28% 65.28% at 50% 100%,
      rgba(223, 113, 255, 0.8) 0%,
      rgba(223, 113, 255, 0) 100%
    ),
    linear-gradient(0deg, #7a5af8, #7a5af8);
  border-radius: var(--round);
  border: none;
  outline: none;
  padding: 12px 18px;
}
.button::before,
.button::after {
  content: "";
  position: absolute;
  inset: var(--space);
  transition: all 0.5s ease-in-out;
  border-radius: calc(var(--round) - var(--space));
  z-index: 0;
}
.button::before {
  --space: 1px;
  background: linear-gradient(
    177.95deg,
    rgba(255, 255, 255, 0.19) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}
.button::after {
  --space: 2px;
  background: radial-gradient(
      65.28% 65.28% at 50% 100%,
      rgba(223, 113, 255, 0.8) 0%,
      rgba(223, 113, 255, 0) 100%
    ),
    linear-gradient(0deg, #7a5af8, #7a5af8);
}
.button:active {
  transform: scale(0.95);
}

.fold {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  height: 1rem;
  width: 1rem;
  display: inline-block;
  transition: all 0.5s ease-in-out;
  background: radial-gradient(
    100% 75% at 55%,
    rgba(223, 113, 255, 0.8) 0%,
    rgba(223, 113, 255, 0) 100%
  );
  box-shadow: 0 0 3px black;
  border-bottom-left-radius: 0.5rem;
  border-top-right-radius: var(--round);
}
.fold::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150%;
  height: 150%;
  transform: rotate(45deg) translateX(0%) translateY(-18px);
  background-color: #e8e8e8;
  pointer-events: none;
}
.button:hover .fold {
  margin-top: -1rem;
  margin-right: -1rem;
}

.points_wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.points_wrapper .point {
  bottom: -10px;
  position: absolute;
  animation: floating-points infinite ease-in-out;
  pointer-events: none;
  width: 2px;
  height: 2px;
  background-color: #fff;
  border-radius: 9999px;
}
@keyframes floating-points {
  0% {
    transform: translateY(0);
  }
  85% {
    opacity: 0;
  }
  100% {
    transform: translateY(-55px);
    opacity: 0;
  }
}
.points_wrapper .point:nth-child(1) {
  left: 10%;
  opacity: 1;
  animation-duration: 2.35s;
  animation-delay: 0.2s;
}
.points_wrapper .point:nth-child(2) {
  left: 30%;
  opacity: 0.7;
  animation-duration: 2.5s;
  animation-delay: 0.5s;
}
.points_wrapper .point:nth-child(3) {
  left: 25%;
  opacity: 0.8;
  animation-duration: 2.2s;
  animation-delay: 0.1s;
}
.points_wrapper .point:nth-child(4) {
  left: 44%;
  opacity: 0.6;
  animation-duration: 2.05s;
}
.points_wrapper .point:nth-child(5) {
  left: 50%;
  opacity: 1;
  animation-duration: 1.9s;
}
.points_wrapper .point:nth-child(6) {
  left: 75%;
  opacity: 0.5;
  animation-duration: 1.5s;
  animation-delay: 1.5s;
}
.points_wrapper .point:nth-child(7) {
  left: 88%;
  opacity: 0.9;
  animation-duration: 2.2s;
  animation-delay: 0.2s;
}
.points_wrapper .point:nth-child(8) {
  left: 58%;
  opacity: 0.8;
  animation-duration: 2.25s;
  animation-delay: 0.2s;
}
.points_wrapper .point:nth-child(9) {
  left: 98%;
  opacity: 0.6;
  animation-duration: 2.6s;
  animation-delay: 0.1s;
}
.points_wrapper .point:nth-child(10) {
  left: 65%;
  opacity: 1;
  animation-duration: 2.5s;
  animation-delay: 0.2s;
}

.inner {
  z-index: 2;
  gap: 6px;
  position: relative;
  width: 100%;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s ease-in-out;
}

.inner svg.icon {
  width: 18px;
  height: 18px;
  transition: fill 0.1s linear;
}

.button:focus svg.icon {
  fill: white;
}
.button:hover svg.icon {
  fill: transparent;
  animation:
    dasharray 1s linear forwards,
    filled 0.1s linear forwards 0.95s;
}
@keyframes dasharray {
  from {
    stroke-dasharray: 0 0 0 0;
  }
  to {
    stroke-dasharray: 68 68 0 0;
  }
}
@keyframes filled {
  to {
    fill: white;
  }
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #000;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
}

.modal-content a{
        margin: 5% auto;
    border: 1px solid #888;
    width: 60%;
        font-size: 18px;
    border-radius: 5px;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #fff;
}

.form-group {
    margin: 20px 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #45a049;
}


.vip-container {
    max-width: 1100px;
    margin: 20px auto;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    padding: 1rem;
    line-height: 1.6;
}

.vip-container h1, 
.vip-container h2, 
.vip-container h3 {
    margin: 1.5rem 0;
}

.vip-container p {
    margin-bottom: 1rem;
}

.vip-container ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.vip-container li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.vip-container .separator {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.giveaway-button {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    border: none;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.giveaway-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}


/* vip Styles */

.get-vip a {
    margin-bottom:  20px;
  position: relative;
  display: inline-block;
  padding: 5px 15px;
  background: linear-gradient(45deg, #db901b, #e0c426);
  color: white;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.7);
  -webkit-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulse 2.25s infinite cubic-bezier(0.66, 0, 0, 1);
  transition: all 0.3s ease;
}

.get-vip a:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #ce8006, #d0b521);
  -webkit-animation: none;
  -moz-animation: none;
  -ms-animation: none;
  animation: none;
}

@-webkit-keyframes pulse {
  to {
    box-shadow: 0 0 0 10px rgba(255, 165, 0, 0);
  }
}

@-moz-keyframes pulse {
  to {
    box-shadow: 0 0 0 10px rgba(255, 165, 0, 0);
  }
}

@-ms-keyframes pulse {
  to {
    box-shadow: 0 0 0 10px rgba(255, 165, 0, 0);
  }
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 12px rgba(255, 165, 0, 0);
  }
}