body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 25%, #90caf9 50%, #64b5f6 75%, #42a5f5 100%);
    background-attachment: fixed;
    color: #0d47a1;
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.5s ease, color 0.5s ease;
}

html[data-theme="dark"] body {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a52 25%, #1e5a7a 50%, #1a4d73 75%, #154360 100%);
    color: #e3f2fd;
}

.banner {
    padding: 20px;
}

.banner img, .banner-bottom img {
    width: 100%;
    max-height: 300px;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.banner-bottom {
    margin-top: 40px;
    padding: 20px;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-top: -20px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.5s forwards, gentleBreath 4s ease-in-out infinite 1.5s;
}

@keyframes gentleBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.005); }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1, h2 {
    color: #0d47a1;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #0d47a1, #1976d2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.1); }
}

h2 {
    font-size: 1.8em;
    margin-top: 30px;
    color: #1565c0;
}

p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.join-button {
    display: inline-block;
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: #ffffff;
    padding: 3px 8px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(25, 118, 210, 0.3);
    animation: gentleFloat 3s ease-in-out infinite;
    position: relative;
}

.join-button:hover {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(25, 118, 210, 0.4);
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.join-button:hover {
    background: #1565c0;
}

.button-container {
    text-align: center;
    margin: 20px 0;
}

.about-pearl {
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.9) 0%, rgba(187, 222, 251, 0.95) 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.2);
    border: 3px solid #64b5f6;
    margin: 30px 0;
    text-align: center;
}

.about-pearl h2 {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 15px;
    text-shadow: none;
}

.about-pearl p {
    color: #1565c0;
    font-size: 1.05em;
    line-height: 1.8;
    margin: 0;
}

html[data-theme="dark"] .about-pearl {
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.95) 0%, rgba(30, 74, 115, 0.95) 100%);
    border-color: #64b5f6;
    box-shadow: 0 8px 25px rgba(100, 181, 246, 0.2);
}

html[data-theme="dark"] .about-pearl h2 {
    background: linear-gradient(135deg, #64b5f6, #90caf9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="dark"] .about-pearl p {
    color: #b3e5fc;
}

ul {
    list-style-type: none;
    padding: 0 10px;
    text-align: center;
    margin: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    box-sizing: border-box;
}

.offer-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
}

.offer-info h2 {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2em;
    margin-bottom: 15px;
}

li {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    margin: 15px auto;
    padding: 18px 25px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.25);
    border: 2px solid #1976d2;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
    max-width: 600px;
    color: #0d47a1;
    font-weight: 500;
}

li:nth-child(1) { animation-delay: 0.8s; }
li:nth-child(2) { animation-delay: 1.0s; }
li:nth-child(3) { animation-delay: 1.2s; }
li:nth-child(4) { animation-delay: 1.4s; }
li:nth-child(5) { animation-delay: 1.6s; }
li:nth-child(6) { animation-delay: 1.8s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

li:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.4);
    border-color: #0d47a1;
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
}

li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s;
}

li:hover::before {
    left: 100%;
}

.server-info p {
    color: #1565c0;
    font-size: 1em;
    margin-top: 20px;
    line-height: 1.8;
}

.terms {
    margin-top: 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.95) 0%, rgba(187, 222, 251, 0.95) 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.2);
    border: 2px solid #64b5f6;
}

.terms h2 {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
}

.terms p {
    color: #1565c0;
    font-size: 1em;
}

.server-info {
    margin-top: 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.95) 0%, rgba(187, 222, 251, 0.95) 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.2);
    border: 2px solid #64b5f6;
}

.server-info h2 {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2em;
    margin-top: 0;
}

.server-info h2 {
    color: #0d47a1;
    margin-bottom: 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}
.info-item {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid #64b5f6;
    text-align: center;
}

.info-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(25, 118, 210, 0.35);
    border-color: #1976d2;
}

.info-item h3 {
    color: #0d47a1;
    margin: 0 0 12px 0;
    font-size: 1.3em;
    font-weight: 700;
}

.info-item p {
    color: #1565c0;
    font-size: 0.95em;
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

.copyright {
    text-align: center;
    padding: 20px;
    color: #0d47a1;
    font-size: 0.8em;
    background: rgba(255, 255, 255, 0.9);
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===== DARK MODE STYLES ===== */

#dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4);
    transition: all 0.3s ease;
    text-align: center;
}

#dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.5);
}

html[data-theme="dark"] main {
    background: linear-gradient(135deg, rgba(20, 40, 65, 0.95) 0%, rgba(25, 50, 85, 0.95) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] li {
    background: linear-gradient(135deg, #1a3a52 0%, #1e4d73 100%);
    color: #e3f2fd;
    border-color: #64b5f6;
    box-shadow: 0 4px 15px rgba(100, 181, 246, 0.2);
}

html[data-theme="dark"] li:hover {
    background: linear-gradient(135deg, #1e5a7a 0%, #1a4d73 100%);
    border-color: #90caf9;
    box-shadow: 0 8px 25px rgba(100, 181, 246, 0.3);
}

html[data-theme="dark"] .server-info {
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.95) 0%, rgba(30, 74, 115, 0.95) 100%);
    border-color: #64b5f6;
}

html[data-theme="dark"] .server-info p {
    color: #b3e5fc;
}

html[data-theme="dark"] .server-info h2,
html[data-theme="dark"] .offer-info h2,
html[data-theme="dark"] .terms h2 {
    background: linear-gradient(135deg, #64b5f6, #90caf9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="dark"] .info-item {
    background: linear-gradient(135deg, #1a3a52 0%, #1e4d73 100%);
    border-color: #64b5f6;
    box-shadow: 0 6px 20px rgba(100, 181, 246, 0.15);
}

html[data-theme="dark"] .info-item h3 {
    color: #90caf9;
}

html[data-theme="dark"] .info-item p {
    color: #b3e5fc;
}

html[data-theme="dark"] .info-item:hover {
    border-color: #90caf9;
    box-shadow: 0 10px 30px rgba(100, 181, 246, 0.25);
}

html[data-theme="dark"] .terms {
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.95) 0%, rgba(30, 74, 115, 0.95) 100%);
    border-color: #64b5f6;
    box-shadow: 0 8px 25px rgba(100, 181, 246, 0.2);
}

html[data-theme="dark"] .terms p {
    color: #b3e5fc;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .join-button {
    background: linear-gradient(135deg, #1e5a7a, #1a4d73);
    box-shadow: 0 4px 8px rgba(100, 181, 246, 0.3);
}

html[data-theme="dark"] .join-button:hover {
    background: linear-gradient(135deg, #1a4d73, #154360);
    box-shadow: 0 6px 12px rgba(100, 181, 246, 0.4);
}