@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;600;700&family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary: #5865F2;
    /* Discord Blue */
    --primary-dark: #4752C4;
    --secondary: #ff0055;
    /* Accent Pink/Red */
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-main: #ffffff;
    --text-muted: #b9bbbe;
    --gradient: linear-gradient(135deg, #5865F2, #ff0055);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Kanit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Nav */
header {
    background: rgba(18, 18, 18, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    transition: color 0.3s;
    font-size: 16px;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #2a2a2a 0%, #121212 70%);
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content span {
    color: var(--primary);
}

.hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.price-tag {
    background: rgba(255, 255, 255, 0.05);
    display: inline-block;
    padding: 10px 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-period {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 5px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    height: 50px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.4);
}

/* Secondary Button (Outline/Glass) */
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Specific icon colors */
.fa-youtube {
    color: #FF0000;
}

.fa-discord {
    color: #5865F2;
}

.fa-download {
    color: #ffffff;
}

.password-notice {
    margin-top: 20px;
    font-size: 14px;
    color: var(--secondary);
    font-weight: 500;
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #18191c;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s, border-color 0.3s;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.feature-card p {
    color: var(--text-muted);
}

/* FB Widget Section */
.community {
    padding: 80px 0;
    text-align: center;
}

/* FB Widget Fixed */
/* FB Widget Fixed Sidebar */
.fb-widget-fixed {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(340px);
    /* Hide content initially */
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: flex;
    align-items: center;
}

/* Slide out on hover */
.fb-widget-fixed:hover {
    transform: translateY(-50%) translateX(0);
}

/* The Sidebar Icon/Tab */
.fb-toggle-btn {
    display: flex !important;
    /* Always show */
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    position: absolute;
    right: 100%;
    /* Stick to the left of the hidden container */
    top: 50%;
    transform: translateY(-50%);

    background: #1877F2;
    color: white;
    width: 40px;
    height: 120px;
    /* Vertical bar */
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
}

.fb-toggle-btn i {
    font-size: 24px;
}

/* Vertical text */
.fb-toggle-btn span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transform: rotate(180deg);
    /* Fix direction for vertical-rl */
}

.fb-widget-fixed iframe {
    background: white;
    border-radius: 0 0 0 10px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}


/* Footer */
footer {
    background: #0f0f0f;
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: white;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}