body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #1c2526 0%, #0a0f10 100%) url("/main/assets/css/images/bg01.png") fixed;
    background-color: #0a0f10;
    color: #fff;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    text-align: center;
    width: 90%;
    max-width: 900px;
    padding: 30px;
    margin: 3em auto 0;
    background: linear-gradient(180deg, rgba(28, 37, 38, 0.9) 0%, rgba(10, 15, 16, 0.7) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.site-logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 200px;
    height: auto;
}

.nav-bar {
    background: linear-gradient(45deg, #2a3536, #1a2526);
    padding: 10px 20px;
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto 20px;
}

.nav-bar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-bar li {
    margin-left: 20px;
    flex-shrink: 0;
}

.nav-bar a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
    background: linear-gradient(90deg, #cccccc, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 40px;
    display: inline-block;
}

.nav-bar a:hover,
.nav-bar a.active {
    color: #4a5a5b;
    background: linear-gradient(45deg, #4a5a5b, #3a4546);
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #fff;
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(74, 90, 91, 0.4);
}

.nav-bar a.active {
    color: #4a5a5b;
    background: linear-gradient(45deg, #4a5a5b, #3a4546);
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #fff;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(74, 90, 91, 0.6);
}

@media screen and (max-width: 1200px) {
    .nav-bar a {
        font-size: 1.0em;
        padding: 8px 14px;
    }
}

@media screen and (max-width: 1000px) {
    .nav-bar a {
        font-size: 0.95em;
        padding: 7px 12px;
    }
}

@media screen and (max-width: 800px) {
    .nav-bar a {
        font-size: 0.9em;
        padding: 6px 10px;
    }
}

@media screen and (max-width: 768px) {
    .nav-bar {
        padding: 10px 15px;
    }
    .nav-bar ul {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: hidden;
        padding-left: 0;
        padding-right: 0;
    }
    .nav-bar li {
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 8px;
    }
    .nav-bar a {
        font-size: 0.9em;
        padding: 8px 12px;
        white-space: nowrap;
    }
}

@media screen and (max-width: 480px) {
    .nav-bar a {
        font-size: 0.85em;
        padding: 7px 10px;
    }
    .nav-bar li {
        margin-left: 8px;
        margin-right: 8px;
    }
}

.dropotron {
    background: linear-gradient(135deg, #151a1b 0%, #080b0c 100%);
    border-radius: 8px;
    box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.5), inset 0px 0px 0px 2px rgba(255, 255, 255, 0.075), inset 0px 2px 1px 0px rgba(255, 255, 255, 0.2), 0px 2px 14px 0px rgba(0, 0, 0, 0.4);
    padding: 1em;
    line-height: 2em;
    min-width: 12em;
    position: absolute;
    z-index: 1000;
    list-style: none !important;
    text-shadow: none;
}

.dropotron ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.dropotron.level-0 {
    margin-top: -2px;
    left: 50%;
    transform: translateX(-50%);
}

.dropotron .custom-dropdown-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    outline: 0;
    display: block;
    padding: 0.5em 1em;
    background: linear-gradient(90deg, #cccccc, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
}

.dropotron li:hover > .custom-dropdown-link {
    background: linear-gradient(45deg, #4a5a5b, #3a4546);
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #fff;
}

.dropotron a:visited {
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, #cccccc, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 1200px) {
    .dropotron .custom-dropdown-link {
        font-size: 1.0em;
    }
}

@media screen and (max-width: 1000px) {
    .dropotron .custom-dropdown-link {
        font-size: 0.9em;
    }
}

@media screen and (max-width: 800px) {
    .dropotron .custom-dropdown-link {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 768px) {
    .dropotron .custom-dropdown-link {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 480px) {
    .dropotron .custom-dropdown-link {
        font-size: 1.0em;
    }
}

h1 {
    font-size: 2.2em;
    margin-bottom: 1em;
    background: linear-gradient(to right, #ffffff 20%, rgba(255, 255, 255, 0.5) 50%, #a0a0a0 80%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: textGlint 1.5s ease-in-out forwards;
}

@keyframes textGlint {
    0% {
        background-position: 100% 0;
        opacity: 0.8;
    }
    100% {
        background-position: 0 0;
        opacity: 1;
    }
}

h2.about-title {
    font-size: 1.6em;
    margin: 0.5em 0 1em;
    color: #ddd;
    background: linear-gradient(90deg, #cccccc, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

h3 {
    font-size: 1.4em;
    margin: 1em 0 0.5em;
    color: #ddd;
    background: linear-gradient(90deg, #cccccc, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0 0 2em;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links li {
    margin: 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #2a3536, #1a2526);
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.2em;
    transition: all 0.3s ease-in-out;
}

.social-links a:hover {
    background: linear-gradient(45deg, #4a5a5b, #3a4546);
    transform: scale(1.1);
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1em auto;
    justify-content: center;
}

.full-width-content {
    width: 100%;
    max-width: 100%;
}

.left-column, .right-column {
    flex: 1;
    min-width: 300px;
}

.embed-container {
    margin: 20px 0;
    padding: 15px;
    background: rgba(42, 53, 54, 0.3);
    border-radius: 8px;
}

.embed-container h3 {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #fff !important;
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1em !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

/* Pulsing red dot - highest priority */
.embed-container h3 .live-dot {
    color: #ff4444 !important;
    font-size: 1.5em !important;
    line-height: 1 !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
    animation: pulse 1.4s infinite ease-in-out !important;
    display: inline-block !important;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.8) !important;
}

/* LIVE NOW! bright green */
.embed-container h3 .live-text {
    color: #00ff00 !important;
    font-weight: bold !important;
    vertical-align: middle !important;
}

/* Offline bright red */
.embed-container h3 .offline-text {
    color: #ff4444 !important;
    font-weight: bold !important;
    vertical-align: middle !important;
}

/* Title text */
.embed-container h3 .title-text {
    color: #ddd !important;
    font-size: 0.8em !important;
    vertical-align: middle !important;
}

/* Game text */
.embed-container h3 .game-text {
    color: #aaa !important;
    font-size: 0.9em !important;
    vertical-align: middle !important;
}

/* Pulsing animation - stronger for visibility */
@keyframes pulse {
    0%   { opacity: 1; transform: scale(1); }
    50%  { opacity: 0.25; transform: scale(1.35); }
    100% { opacity: 1; transform: scale(1); }
}

/* Offline message split styling */
.embed-container h3 .offline-prefix {
    color: #fff !important; 
    font-weight: bold !important;
    vertical-align: middle !important;
}

.embed-container h3 .offline-highlight {
    color: #ff4444 !important; 
    font-weight: bold !important;
    vertical-align: middle !important;
}

/*YouTube*/
.count-number .suffix {
    font-size: 0.9em;
    font-weight: bold;
    margin-left: 2px;
    color: #fff;
}
.video-container {
    position: relative;
    padding-top: 56.25%;
    margin: 20px 0;
}

.video-container iframe,
.video-container div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: none;
}

.mb-2 {
    margin-bottom: 2em;
}

.none {
    display: none;
}

.about-me {
    margin: 20px 0;
    padding: 15px;
    background: rgba(42, 53, 54, 0.3);
    border-radius: 8px;
    overflow: visible;
}

.about-me p {
    margin: 0 1em 1.5em 1;
    font-size: 1.0em;
    color: #ccc;
    background: linear-gradient(90deg, #cccccc, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.4;
    text-align: left;
}

.about-link {
    color: #ccc;
    text-decoration: none;
    background: linear-gradient(90deg, #cccccc, #999999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
}

.about-link:hover {
    background: linear-gradient(45deg, #4a5a5b, #3a4546);
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #fff;
    text-decoration: underline;
    color: #fff;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.p-3 {
    padding: 15px;
}

.col-4 {
    flex: 1;
    min-width: calc(33.33% - 15px);
    text-align: center;
}

.col-4-medium {
    min-width: calc(33.33% - 15px);
}

.col-4 header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.col-4 header a {
    font-size: 1.5em;
    color: #fff;
    text-decoration: none;
    margin: 0;
}

.col-4 header a:hover {
    color: #4a5a5b;
}

.count-number {
    font-size: 1.1em;
    color: #ccc;
    display: inline-flex;
    align-items: center;
}

.counter {
    font-weight: bold;
    color: #fff;
    margin-right: 2px;
}

.content-section {
    margin: 2em 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.support-item {
    background: rgba(42, 53, 54, 0.3);
    padding: 15px;
    border-radius: 8px;
}

.support-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 4px;
    margin: 10px auto;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-image:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px 5px rgba(0, 191, 255, 0.7);
}

@media screen and (max-width: 768px) {
    .support-image {
        max-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .support-image {
        max-width: 250px;
    }
}

.footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 2em;
    background: linear-gradient(180deg, rgba(10, 15, 16, 0.7) 0%, rgba(28, 37, 38, 0.9) 100%);
    color: #aaa;
    font-size: 0.9em;
}

.footer p {
    margin: 0;
}

.spookyfam-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 3em;
    padding: 20px;
    background: rgba(20, 10, 25, 0.4);
    border: 1px solid rgba(80, 0, 0, 0.4);
    border-radius: 12px;
}

.spooky-title {
    font-size: 2.2em;
    color: #ddd;
    margin: 0 0 10px 0;
    text-shadow: 0 0 8px rgba(139, 0, 0, 0.5);
}

.spooky-subtitle {
    font-size: 1.2em;
    color: #aaa;
    margin: 0;
    font-style: italic;
}

.fam-member {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(20, 10, 25, 0.35);
    border: 1px solid rgba(60, 0, 0, 0.4);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.fam-member:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 0, 0, 0.6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.member-avatar {
    position: relative;
    flex-shrink: 0;
}

.member-avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(139, 0, 0, 0.3);
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.fam-member:hover .member-avatar img {
    border-color: rgba(139, 0, 0, 0.6);
    box-shadow: 0 0 25px rgba(139, 0, 0, 0.6);
}

.avatar-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.25) 0%, transparent 70%);
    filter: blur(8px);
    opacity: 0.6;
    z-index: -1;
}

.leader .member-name {
    color: #ffcccc;
    text-shadow: 0 0 10px rgba(255, 100, 100, 0.4);
}

.leader-badge {
    white-space: nowrap;
    font-size: 0.65em;
    background: rgba(139, 0, 0, 0.3);
    color: #ffcccc;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(139, 0, 0, 0.5);
    margin-left: 10px;
    vertical-align: middle;
}

.member-name {
    font-size: 1.8em;
    color: #eee;
    margin: 0 0 12px 0;
}

.member-bio {
    font-size: 1.05em;
    line-height: 1.6;
    color: #ccc;
    margin: 0 0 20px 0;
}

.member-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    color: #ddd;
    background: rgba(40, 20, 50, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 0, 0, 0.3);
}

.social-icon:hover {
    transform: translateY(-2px);
    background: rgba(60, 30, 70, 0.8);
    border-color: rgba(139, 0, 0, 0.6);
    color: #fff;
}

@media (max-width: 768px) {
    .fam-member {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
        gap: 20px;
    }

    .member-avatar {
        margin: 0 auto 20px;
    }

    .member-avatar img {
        width: 110px;
        height: 110px;
        border-width: 3px;
    }

    .leader .member-avatar img {
        width: 130px;
        height: 130px;
    }

    .leader-badge {
        font-size: 0.65em;
        padding: 3px 8px;
    }

    .member-name {
        font-size: 1.6em;
    }

    .member-bio {
        font-size: 1em;
        padding: 0 10px;
    }

    .page-header {
        padding: 20px 15px;
    }

    .spooky-title {
        font-size: 2em;
    }

    .spooky-subtitle {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .member-avatar img {
        width: 100px;
        height: 100px;
    }

    .leader .member-avatar img {
        width: 115px;
        height: 115px;
    }

    .member-name {
        font-size: 1.4em;
    }

    .member-bio {
        font-size: 0.95em;
    }
}

.benefits-container {
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 30px;
    margin: 3em auto 0;
    background: linear-gradient(180deg, rgba(28, 37, 38, 0.9) 0%, rgba(10, 15, 16, 0.7) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.hero-section {
    text-align: center;
    margin-bottom: 50px;
}

.main-title {
    font-size: 2.5em;
    color: #fff;
    margin: 0 0 15px;
}

.tagline {
    font-size: 1.3em;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
}

.core-perks, .tiers, .why-subscribe {
    padding: 0;
    margin-bottom: 40px;
    background: none;
    border: none;
}

.perk-list {
    list-style: none;
    padding: 0;
}

.perk-list li {
    margin: 15px 0;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    justify-content: flex-start;
}

.perk-emote {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tier-card {
    background: rgba(30,15,35,0.6);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    border-width: 2px;
    border-style: solid;
}

.tier1 {
    border-color: #ffffff;
}

.tier2 {
    border-color: #ff0044;
}

.tier3 {
    border-color: #222222;
}

.tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.price {
    font-size: 2em;
    font-weight: bold;
    margin: 15px 0;
    color: #ffdd44;
}

.desc {
    font-size: 1.1em;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: #9146ff;
    color: white;
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.3em;
    margin-top: 25px;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #7c3aed;
}

.disclaimer {
    text-align: center;
    color: #888;
    font-size: 0.9em;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .benefits-container {
        padding: 20px 15px;
        margin: 2em auto 0;
    }

    .main-title {
        font-size: 2em;
    }

    .tier-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tier-card {
        padding: 20px;
    }

    .perk-emote {
        width: 28px;
        height: 28px;
    }
}

.contact-container {
    max-width: 900px;
    width: 100;
    margin: 3em auto 0;
    padding: 30px;
    background: linear-gradient(180deg, rgba(28, 37, 38, 0.9) 0%, rgba(10, 15, 16, 0.7) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    color: #e0e0e0;
    overflow-x: hidden;
    box-sizing: border-box;
}

.contact-form {
    max-width: 100%;
    overflow-x: hidden;
    word-wrap: break-word;
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ddd;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    background: #111;
    border: 1px solid #444;
    color: #eee;
    border-radius: 6px;
    font-size: 1em;
    box-shadow: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #666;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.submit-btn {
    background: #555;
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 1.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #777;
    transform: translateY(-2px);
}

.success-message {
    background: rgba(0, 150, 0, 0.15);
    color: #0c0;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    border: 1px solid rgba(0, 150, 0, 0.3);
}

.error-message {
    background: rgba(150, 0, 0, 0.15);
    color: #c00;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid rgba(150, 0, 0, 0.3);
}

.error-message ul {
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 20px 15px;
        margin: 2em auto 0;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 1em;
        padding: 10px;
    }

    .submit-btn {
        width: 100%;
        padding: 14px;
    }
}