/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loading-crown {
    width: 120px;
    height: 120px;
    animation: crownBounce 2s ease-in-out infinite;
}

.loading-text {
    color: #cccccc;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes crownBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e5e5e5;
    background: url('anime-sky-itff9n0yu1gnlha2.jpg') center center fixed;
    background-size: cover;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* Hero Section */
.hero {
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('throne-room.png') center center;
    background-size: cover;
    opacity: 1;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.crownfnf-link {
    margin-top: 0;
    position: relative;
    z-index: 2;
}



.crownfnf-link a {
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.crownfnf-link a:hover {
    transform: scale(1.05);
}

.crown {
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 5rem;
    font-weight: 700;
}

.fnf {
    color: #1a1a1a;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
    font-size: 5rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #cccccc, #999999);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(204, 204, 204, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 204, 204, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* From Uiverse.io by Ashon-G */ 
.uiverse {
  --duration: 7s;
  --easing: linear;
  --c-color-1: #ff6b35;
  --c-color-2: #ff0000;
  --c-color-3: #ffa500;
  --c-color-4: #ffff00;
  --c-shadow: rgba(255, 215, 0, 0.5);
  --c-shadow-inset-top: rgba(255, 255, 255, 0.9);
  --c-shadow-inset-bottom: rgba(255, 250, 215, 0.8);
  --c-radial-inner: #ffff00;
  --c-radial-outer: #ffa500;
  --c-color: #fff;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  outline: none;
  position: relative;
  cursor: pointer;
  border: none;
  display: table;
  border-radius: 24px;
  padding: 0;
  margin: 0;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--c-color);
  background: radial-gradient(
    circle,
    var(--c-radial-inner),
    var(--c-radial-outer) 80%
  );
  box-shadow: 0 0 14px var(--c-shadow);
}

.uiverse:before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  box-shadow:
    inset 0 3px 12px var(--c-shadow-inset-top),
    inset 0 -3px 4px var(--c-shadow-inset-bottom);
}

.uiverse .wrapper {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  overflow: hidden;
  border-radius: 24px;
  min-width: 180px;
  padding: 16px 0;
}

.uiverse .wrapper span {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.uiverse:hover {
  --duration: 1400ms;
}

.uiverse .wrapper .circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  filter: blur(var(--blur, 8px));
  background: var(--background, transparent);
  transform: translate(var(--x, 0), var(--y, 0)) translateZ(0);
  animation: var(--animation, none) var(--duration) var(--easing) infinite;
}

.uiverse .wrapper .circle.circle-1,
.uiverse .wrapper .circle.circle-9,
.uiverse .wrapper .circle.circle-10 {
  --background: var(--c-color-4);
}

.uiverse .wrapper .circle.circle-3,
.uiverse .wrapper .circle.circle-4 {
  --background: var(--c-color-2);
  --blur: 14px;
}

.uiverse .wrapper .circle.circle-5,
.uiverse .wrapper .circle.circle-6 {
  --background: var(--c-color-3);
  --blur: 16px;
}

.uiverse .wrapper .circle.circle-2,
.uiverse .wrapper .circle.circle-7,
.uiverse .wrapper .circle.circle-8,
.uiverse .wrapper .circle.circle-11,
.uiverse .wrapper .circle.circle-12 {
  --background: var(--c-color-1);
  --blur: 12px;
}

.uiverse .wrapper .circle.circle-1 {
  --x: 0;
  --y: -40px;
  --animation: circle-1;
}

.uiverse .wrapper .circle.circle-2 {
  --x: 92px;
  --y: 8px;
  --animation: circle-2;
}

.uiverse .wrapper .circle.circle-3 {
  --x: -12px;
  --y: -12px;
  --animation: circle-3;
}

.uiverse .wrapper .circle.circle-4 {
  --x: 80px;
  --y: -12px;
  --animation: circle-4;
}

.uiverse .wrapper .circle.circle-5 {
  --x: 12px;
  --y: -4px;
  --animation: circle-5;
}

.uiverse .wrapper .circle.circle-6 {
  --x: 56px;
  --y: 16px;
  --animation: circle-6;
}

.uiverse .wrapper .circle.circle-7 {
  --x: 8px;
  --y: 28px;
  --animation: circle-7;
}

.uiverse .wrapper .circle.circle-8 {
  --x: 28px;
  --y: -4px;
  --animation: circle-8;
}

.uiverse .wrapper .circle.circle-9 {
  --x: 20px;
  --y: -12px;
  --animation: circle-9;
}

.uiverse .wrapper .circle.circle-10 {
  --x: 64px;
  --y: 16px;
  --animation: circle-10;
}

.uiverse .wrapper .circle.circle-11 {
  --x: 4px;
  --y: 4px;
  --animation: circle-11;
}

.uiverse .wrapper .circle.circle-12 {
  --blur: 14px;
  --x: 52px;
  --y: 4px;
  --animation: circle-12;
}

@keyframes circle-1 {
  33% {
    transform: translate(0px, 16px) translateZ(0);
  }

  66% {
    transform: translate(12px, 64px) translateZ(0);
  }
}

@keyframes circle-2 {
  33% {
    transform: translate(80px, -10px) translateZ(0);
  }

  66% {
    transform: translate(72px, -48px) translateZ(0);
  }
}

@keyframes circle-3 {
  33% {
    transform: translate(20px, 12px) translateZ(0);
  }

  66% {
    transform: translate(12px, 4px) translateZ(0);
  }
}

@keyframes circle-4 {
  33% {
    transform: translate(76px, -12px) translateZ(0);
  }

  66% {
    transform: translate(112px, -8px) translateZ(0);
  }
}

@keyframes circle-5 {
  33% {
    transform: translate(84px, 28px) translateZ(0);
  }

  66% {
    transform: translate(40px, -32px) translateZ(0);
  }
}

@keyframes circle-6 {
  33% {
    transform: translate(28px, -16px) translateZ(0);
  }

  66% {
    transform: translate(76px, -56px) translateZ(0);
  }
}

@keyframes circle-7 {
  33% {
    transform: translate(8px, 28px) translateZ(0);
  }

  66% {
    transform: translate(20px, -60px) translateZ(0);
  }
}

@keyframes circle-8 {
  33% {
    transform: translate(32px, -4px) translateZ(0);
  }

  66% {
    transform: translate(56px, -20px) translateZ(0);
  }
}

@keyframes circle-9 {
  33% {
    transform: translate(20px, -12px) translateZ(0);
  }

  66% {
    transform: translate(80px, -8px) translateZ(0);
  }
}

@keyframes circle-10 {
  33% {
    transform: translate(68px, 20px) translateZ(0);
  }

  66% {
    transform: translate(100px, 28px) translateZ(0);
  }
}

@keyframes circle-11 {
  33% {
    transform: translate(4px, 4px) translateZ(0);
  }

  66% {
    transform: translate(68px, 20px) translateZ(0);
  }
}

@keyframes circle-12 {
  33% {
    transform: translate(56px, 0px) translateZ(0);
  }

  66% {
    transform: translate(60px, -32px) translateZ(0);
  }
}

.hero-image {
    display: none;
}

.castle-img {
    display: none;
}



/* Anime Sky Section */
.anime-sky {
    position: relative;
    min-height: 100vh;
    overflow: visible;
}

.anime-sky-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('anime-sky-itff9n0yu1gnlha2.jpg') center center;
    background-size: cover;
    z-index: 0;
}

/* Members Section */
.members {
    min-height: calc(150vh - 200px);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 0;
}

.members h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.7rem;
    color: white;
}

.members h2 .crown-text {
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
} 

.members-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2.7rem;
    margin-bottom: 3.6rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.member-card {
    background: rgba(255, 215, 0, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.625rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 262.5px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.04) 50%, 
        rgba(255, 255, 255, 0.08) 100%
    );
    border-radius: 20px;
    z-index: -1;
}

.member-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 70%
    );
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.04) 50%, 
        rgba(255, 255, 255, 0.08) 100%
    );
    border-radius: 20px;
    z-index: -1;
}

.member-card .liquid-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #fff200);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -2;
    filter: blur(8px);
    transform: scale(0.8);
}

.member-card {
    cursor: pointer;
}

.member-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.08);
}

.member-card:hover .liquid-effect {
    opacity: 0.3;
    transform: scale(1.1);
    filter: blur(12px);
}

.member-card:hover::after {
    opacity: 1;
}



.member-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1.125rem;
    object-fit: cover;
    border: 2.25px solid #cccccc;
}

.member-name {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.member-crown {
    width: 22.5px;
    height: 22.5px;
    animation: memberCrownBounce 3s ease-in-out infinite;
}

@keyframes memberCrownBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.member-twitter {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.825rem;
}

.member-twitter:hover {
    color: #999999;
}

.member-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

/* Admin Panel - Hidden from public */
.admin-panel {
    display: none;
}



/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-logo i {
    color: #cccccc;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #cccccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
        padding: 0 15px;
    }
    
    .hero-content {
        max-width: 95%;
        padding: 0 15px;
    }
    
    .crown, .fnf {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .crown, .fnf {
        font-size: 3.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .uiverse .wrapper {
        min-width: 200px;
        padding: 14px 0;
    }
    
    .members h2 {
        font-size: 2rem;
        margin-bottom: 1.8rem;
    }
    
    .members-grid {
        flex-direction: column;
        gap: 1.8rem;
        padding: 0 20px;
    }
    
    .member-card {
        min-width: 280px;
        min-height: 350px;
        padding: 2.5rem;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
    }
    
    .member-name {
        font-size: 1.5rem;
    }
    
    .member-crown {
        width: 25px;
        height: 25px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Version pour écrans moyens - Tablettes et petits laptops */
@media (min-width: 769px) and (max-width: 1200px) {
    .hero-content {
        max-width: 95%;
        padding: 0 30px;
    }
    
    .crown, .fnf {
        font-size: 4.2rem;
    }
    
    .hero-buttons {
        gap: 2rem;
        justify-content: center;
    }
    
    .uiverse .wrapper {
        min-width: 220px;
        padding: 16px 0;
    }
    
    .members {
        padding: 2rem 0;
    }
    
    .members h2 {
        font-size: 2.8rem;
        margin-bottom: 2.7rem;
    }
    
    .members-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.25rem;
        padding: 0 30px;
        max-width: 900px;
        margin: 0 auto;
        margin-bottom: 2rem;
    }
    
    .member-card {
        min-width: 300px;
        min-height: 380px;
        padding: 3rem;
        margin: 0 auto;
    }
    
    .member-avatar {
        width: 110px;
        height: 110px;
    }
    
    .member-name {
        font-size: 1.6rem;
    }
    
    .member-crown {
        width: 28px;
        height: 28px;
    }
    
    .member-twitter {
        font-size: 1.2rem;
    }
    
    .container {
        max-width: 95%;
        padding: 0 30px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 15px;
    }
    
    .crown, .fnf {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        gap: 1rem;
    }
    
    .uiverse .wrapper {
        min-width: 180px;
        padding: 12px 0;
    }
    
    .uiverse {
        font-size: 14px;
    }
    
    .members h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .members-grid {
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .member-card {
        min-width: 250px;
        min-height: 300px;
        padding: 2rem;
    }
    
    .member-avatar {
        width: 80px;
        height: 80px;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-crown {
        width: 20px;
        height: 20px;
    }
    
    .member-twitter {
        font-size: 1rem;
    }
    
    .loading-crown {
        width: 80px;
        height: 80px;
    }
    
    .loading-text {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .crown, .fnf {
        font-size: 2.2rem;
    }
    
    .uiverse .wrapper {
        min-width: 160px;
        padding: 10px 0;
    }
    
    .uiverse {
        font-size: 12px;
    }
    
    .members h2 {
        font-size: 1.5rem;
    }
    
    .member-card {
        min-width: 220px;
        min-height: 280px;
        padding: 1.5rem;
    }
    
    .member-avatar {
        width: 70px;
        height: 70px;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .anime-sky {
        height: 100vh;
        min-height: 500px;
    }
    
    .members {
        height: 100vh;
        min-height: 500px;
    }
    
    .crown, .fnf {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }
    
    .members-grid {
        flex-direction: row;
        gap: 1rem;
    }
    
    .member-card {
        min-width: 200px;
        min-height: 250px;
        padding: 1.5rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-bg {
        background-image: url('throne-room.png');
        background-size: cover;
    }
    
    .anime-sky-bg {
        background-image: url('anime-sky-itff9n0yu1gnlha2.jpg');
        background-size: cover;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .uiverse:hover {
        transform: none;
    }
    
    .member-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    /* Increase touch targets */
    .uiverse .wrapper {
        min-width: 200px;
        padding: 16px 0;
    }
    
    .btn {
        padding: 16px 32px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .uiverse .wrapper .circle {
        animation: none;
    }
    
    .loading-crown {
        animation: none;
    }
    
    .loading-text {
        animation: none;
    }
    
    .member-crown {
        animation: none;
    }
    
    .member-card:hover {
        transform: none;
    }
    
    .uiverse:hover {
        transform: none;
    }
} 