@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #FF7A00;
    --primary-dark: #B83A00;
    --primary-light: #FFC14A;
    --secondary-color: #E6E6FA; /* Lavender */
    --accent-color: #00FF7F;
    --background-dark: #0a0a0f;
    --background-light: #121218;
    --text-light: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.7);
    --card-bg: rgba(30, 25, 40, 0.8);
    --border-color: rgba(255, 122, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--primary-color));
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 150px;
    height: 150px;
    animation: logoFloat 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 122, 0, 0.8));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 122, 0, 0.2);
    border-radius: 10px;
    margin-top: 30px;
    overflow: hidden;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    background-size: 200% 100%;
    border-radius: 10px;
    animation: loadingAnim 2s ease-in-out forwards, shimmer 1s linear infinite;
}

@keyframes loadingAnim {
    to { width: 100%; }
}

@keyframes shimmer {
    to { background-position: -200% 0; }
}

.loading-text {
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2em;
    margin-top: 20px;
    letter-spacing: 3px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.rank-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rank-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(145deg, var(--card-bg) 0%, rgba(10, 5, 20, 0.95) 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    animation: modalSlideUp 0.3s ease forwards;
}

@keyframes modalSlideUp {
    to { transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-price {
    font-size: 2em;
    font-weight: 800;
    color: var(--text-light);
}

.modal-price span {
    font-size: 0.5em;
    color: var(--text-gray);
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--primary-color);
    background: rgba(255, 122, 0, 0.1);
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.features-list {
    list-style: none;
}

.features-list li {
    color: var(--text-light);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 122, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li i {
    color: var(--primary-color);
}

.modal-actions {
    padding: 20px 30px;
    display: flex;
    gap: 15px;
    border-top: 1px solid var(--border-color);
}

.modal-btn {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.buy-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
}

.close-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 122, 0, 0.3);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 100px;
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 5px 30px rgba(255, 122, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.5);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.95em;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 60%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a i {
    margin-right: 8px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1a1a2a 0%, var(--background-dark) 70%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 20px;
}

.hero-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 50px rgba(255, 122, 0, 0.6));
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4em;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--primary-color), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: 5px;
}

.hero p {
    color: var(--text-gray);
    font-size: 1.3em;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(255, 122, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 122, 0, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-secondary:hover {
    background: rgba(255, 122, 0, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 122, 0, 0.1);
    border: 2px solid rgba(255, 122, 0, 0.3);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.4em;
    transition: all 0.4s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 15px 30px rgba(255, 122, 0, 0.5);
}

section {
    padding: 100px 150px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8em;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.section-header h2 i {
    background: linear-gradient(135deg, var(--primary-color), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1em;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--text-light));
    margin: 20px auto 0;
    border-radius: 2px;
}

.how-to-join {
    background: linear-gradient(180deg, var(--background-dark) 0%, #0f0f1a 100%);
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step-card {
    background: linear-gradient(145deg, rgba(255, 122, 0, 0.1) 0%, rgba(20, 15, 30, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 50px 40px;
    width: 320px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-15px);
    border-color: rgba(255, 122, 0, 0.5);
    box-shadow: 0 30px 60px rgba(255, 122, 0, 0.2);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 4em;
    font-weight: 900;
    color: rgba(255, 122, 0, 0.1);
}

.step-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    color: var(--text-light);
    box-shadow: 0 15px 35px rgba(255, 122, 0, 0.4);
}

.step-card h3 {
    color: var(--text-light);
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-gray);
    font-size: 0.95em;
    line-height: 1.7;
}

.store {
    background: linear-gradient(180deg, #0f0f1a 0%, var(--background-dark) 100%);
}

.store-notice {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.1) 0%, rgba(20, 15, 30, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    text-align: center;
}

.store-notice i {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-right: 10px;
}

.store-notice p {
    color: var(--text-gray);
    font-size: 1em;
    display: inline;
}

.store-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.store-tab-btn {
    padding: 15px 30px;
    background: rgba(255, 122, 0, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-gray);
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.store-tab-btn:hover {
    background: rgba(255, 122, 0, 0.2);
    color: var(--text-light);
    transform: translateY(-2px);
}

.store-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    border-color: transparent;
    box-shadow: 0 5px 20px rgba(255, 122, 0, 0.3);
}

.store-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.store-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.rank-card, .package-card, .news-card, .key-card {
    background: linear-gradient(145deg, rgba(30, 25, 40, 0.9) 0%, rgba(10, 5, 20, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.rank-card:hover, .package-card:hover, .news-card:hover, .key-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(255, 122, 0, 0.2);
}

.rank-image, .package-image, .key-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.rank-image .image-placeholder,
.package-image .image-placeholder,
.key-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 15, 30, 0.7);
    transition: transform 0.5s ease;
}

.rank-real-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    max-height: 180px;
}

.rank-image-text {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 1px;
}

.rank-card:hover .image-placeholder,
.package-card:hover .image-placeholder,
.key-card:hover .image-placeholder {
    transform: scale(1.05);
}

.rank-header, .package-header, .key-header {
    padding: 25px;
    text-align: center;
    position: relative;
}

.rank-card.five-plus .rank-header,
.package-card.king-chest .package-header {
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.2) 0%, transparent 100%);
}

.rank-card.five .rank-header,
.package-card.lord-chest .package-header {
    background: linear-gradient(135deg, rgba(255, 193, 74, 0.2) 0%, transparent 100%);
}

.rank-card.melon .rank-header,
.package-card.elite-chest .package-header {
    background: linear-gradient(135deg, rgba(184, 58, 0, 0.2) 0%, transparent 100%);
}

.rank-name, .package-name, .key-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.rank-card.five-plus .rank-name {
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(255, 122, 0, 0.3);
}

.rank-card.five .rank-name {
    color: var(--primary-light);
    text-shadow: 0 2px 10px rgba(255, 193, 74, 0.3);
}

.rank-card.melon .rank-name {
    color: #B83A00;
    text-shadow: 0 2px 10px rgba(184, 58, 0, 0.3);
}

.package-card.king-chest .package-name {
    color: #E6E6FA;
    text-shadow: 0 2px 10px rgba(230, 230, 250, 0.3);
}

.package-card.lord-chest .package-name {
    color: #C0C0C0;
    text-shadow: 0 2px 10px rgba(192, 192, 192, 0.3);
}

.package-card.elite-chest .package-name {
    color: #00BFFF;
    text-shadow: 0 2px 10px rgba(0, 191, 255, 0.3);
}

.key-card.five-key .key-name {
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(255, 122, 0, 0.3);
}

.key-card.king-key .key-name {
    color: #E6E6FA; 
    text-shadow: 0 2px 10px rgba(230, 230, 250, 0.3);
}

.key-card.ocean-key .key-name {
    color: #00BFFF;
    text-shadow: 0 2px 10px rgba(0, 191, 255, 0.3);
}

.rank-price, .package-price, .key-price {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--text-light);
    margin-top: 5px;
}

.rank-price span, .package-price span, .key-price span {
    font-size: 0.5em;
    color: var(--text-gray);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--text-light));
    color: var(--text-light);
    font-size: 0.75em;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rank-features, .package-features, .key-features {
    padding: 0 30px;
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.rank-features::after, .package-features::after, .key-features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, rgba(30, 25, 40, 0.9));
    pointer-events: none;
}

.rank-features ul, .package-features ul, .key-features ul {
    list-style: none;
}

.rank-features li, .package-features li, .key-features li {
    color: var(--text-gray);
    font-size: 0.95em;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 122, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.rank-features li:last-child, .package-features li:last-child, .key-features li:last-child {
    border-bottom: none;
}

.rank-features li i, .package-features li i, .key-features li i {
    color: var(--primary-color);
}

.features-more {
    text-align: center;
    color: var(--primary-color);
    font-size: 0.9em;
    padding: 10px 0;
    font-style: italic;
    font-weight: 600;
}

.rank-footer, .package-footer, .key-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
}

.buy-btn, .details-btn, .vote-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.buy-btn, .vote-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
}

.details-btn {
    background: rgba(255, 122, 0, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.buy-btn:hover,
.details-btn:hover,
.vote-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 122, 0, 0.3);
}

.vote {
    background: linear-gradient(180deg, var(--background-dark) 0%, #0f0f1a 100%);
}

.vote-info {
    max-width: 900px;
    margin: 0 auto 60px;
}

.notes-box {
    background: linear-gradient(145deg, rgba(255, 122, 0, 0.1) 0%, rgba(20, 15, 30, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: left;
}

.notes-box h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notes-box h3 i {
    font-size: 1.2em;
}

.notes-box ul {
    list-style: none;
    padding: 0;
}

.notes-box li {
    color: var(--text-gray);
    font-size: 1.05em;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 122, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.notes-box li:last-child {
    border-bottom: none;
}

.notes-box li i {
    color: var(--primary-color);
}

.notes-box li code {
    background: rgba(255, 122, 0, 0.2);
    padding: 2px 10px;
    border-radius: 5px;
    color: var(--primary-color);
    font-family: monospace;
    font-size: 1.1em;
}

.vote-rewards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.reward-card {
    background: linear-gradient(145deg, rgba(255, 122, 0, 0.1) 0%, rgba(20, 15, 30, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.reward-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 122, 0, 0.5);
    box-shadow: 0 20px 40px rgba(255, 122, 0, 0.2);
}

.reward-card i {
    font-size: 2.5em;
    background: linear-gradient(135deg, var(--primary-color), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.reward-card h3 {
    color: var(--text-light);
    font-size: 1.2em;
    margin-bottom: 10px;
}

.reward-card p {
    color: var(--text-gray);
    font-size: 0.95em;
}

.vote-sites {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.vote-card {
    background: linear-gradient(165deg, rgba(40, 35, 50, 0.95) 0%, rgba(20, 15, 30, 0.98) 100%);
    border: 1px solid rgba(255, 122, 0, 0.15);
    border-radius: 16px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.vote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light), var(--primary-color));
    opacity: 0.8;
}

.vote-card:hover {
    transform: translateX(10px);
    border-color: rgba(255, 122, 0, 0.4);
    box-shadow: 0 10px 40px rgba(255, 122, 0, 0.15);
}

.site-number-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #B83A00 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4em;
    font-weight: 900;
    color: var(--text-light);
    box-shadow: 0 5px 20px rgba(255, 122, 0, 0.4);
    transition: all 0.4s ease;
}

.vote-card:hover .site-number-icon {
    transform: scale(1.1) rotate(-5deg);
}

.vote-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vote-card h3 {
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    margin: 0;
    letter-spacing: 0.5px;
}

.vote-card-content p {
    color: var(--text-gray);
    font-size: 0.85em;
    margin: 0;
}

.vote-card-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.vote-status {
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.08), rgba(255, 122, 0, 0.03));
    border: 1px solid rgba(255, 122, 0, 0.15);
    border-radius: 10px;
    color: var(--text-gray);
    font-size: 0.8em;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.vote-card:hover .vote-status {
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.12), rgba(255, 122, 0, 0.05));
    border-color: rgba(255, 122, 0, 0.25);
}

.vote-status i {
    color: var(--primary-color);
}

.vote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #B83A00 100%);
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.4s ease;
}

.vote-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.45);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
}

.vote-btn i {
    transition: transform 0.3s ease;
}

.vote-btn:hover i {
    transform: translateX(3px);
}

.news {
    background: linear-gradient(180deg, #0f0f1a 0%, var(--background-dark) 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: linear-gradient(145deg, rgba(30, 25, 40, 0.9) 0%, rgba(10, 5, 20, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 122, 0, 0.5);
    box-shadow: 0 30px 60px rgba(255, 122, 0, 0.2);
}

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    transition: transform 0.5s ease;
}

.news-image .rank-real-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 40px;
    max-height: 180px;
}

.news-image-text {
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.news-card:hover .news-image .image-placeholder {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--text-light));
    color: var(--text-light);
    font-size: 0.8em;
    font-weight: 600;
    border-radius: 20px;
}

.news-content {
    padding: 30px;
}

.news-title {
    color: var(--text-light);
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 15px;
}

.news-list {
    list-style: none;
}

.news-list li {
    color: var(--text-gray);
    font-size: 0.95em;
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.news-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 122, 0, 0.2);
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: var(--text-light);
    gap: 12px;
}

.notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    padding: 20px 35px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    box-shadow: 0 15px 40px rgba(255, 122, 0, 0.5);
    transition: right 0.4s ease;
}

.notification.show {
    right: 30px;
}

.notification i {
    font-size: 1.5em;
}

.notification-text h4 {
    font-size: 1em;
    margin-bottom: 3px;
}

.notification-text p {
    font-size: 0.85em;
    opacity: 0.9;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    font-size: 1.3em;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.4);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 122, 0, 0.6);
}

footer {
    background: linear-gradient(180deg, var(--background-dark) 0%, #000 100%);
    padding: 60px 100px 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid var(--primary-color);
}

.footer-text h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light);
    font-size: 1.3em;
}

.footer-text p {
    color: var(--text-gray);
    font-size: 0.9em;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 122, 0, 0.1);
    border: 1px solid rgba(255, 122, 0, 0.3);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2em;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 122, 0, 0.1);
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9em;
}

.footer-bottom span {
    color: var(--primary-color);
}

.footer-bottom .fa-heart {
    color: #ff4757;
    margin: 0 5px;
}

@media (max-width: 1024px) {
    header {
        padding: 15px 30px;
    }

    section {
        padding: 80px 30px;
    }

    footer {
        padding: 50px 30px 25px;
    }

    .hero h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 30px 20px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 15px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2em;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 1em;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.8em;
    }

    .store-tabs {
        flex-direction: column;
    }

    .store-tab-btn {
        width: 100%;
    }

    .ranks-grid, .news-grid {
        grid-template-columns: 1fr;
    }

    .rank-footer, .package-footer, .news-footer, .key-footer {
        flex-direction: column;
    }

    .vote-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .vote-card::before {
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: 4px;
    }

    .vote-card-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .vote-btn, .vote-status {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2em;
    }

    .hero h1 {
        font-size: 1.6em;
    }

    .step-card, .news-card, .rank-card, .package-card, .key-card {
        width: 100%;
    }

    .modal-content {
        width: 95%;
    }

    .modal-actions {
        flex-direction: column;
    }
    
    .image-placeholder span {
        font-size: 1.5em;
    }
}
/* =========================
   Store Countdown (ADD ONLY)
========================= */
.store-countdown-wrap{
    max-width: 1200px;
    margin: 0 auto 35px;
    padding: 0 10px;
}

.store-countdown-card{
    background: linear-gradient(145deg, rgba(30, 25, 40, 0.9) 0%, rgba(10, 5, 20, 0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 22px 20px;
    text-align: center;
}

.store-countdown-title{
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.store-countdown{
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.sc-box{
    background: rgba(138, 43, 226, 0.08);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 16px;
    padding: 14px 10px;
}

.sc-num{
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2em;
    font-weight: 900;
    color: var(--text-light);
}

.sc-label{
    display: block;
    margin-top: 4px;
    font-size: 0.85em;
    color: var(--text-gray);
}

.store-countdown-sub{
    margin-top: 14px;
    color: var(--text-gray);
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.store-countdown-sub i{
    color: var(--primary-color);
}

@media (max-width: 768px){
    .store-countdown{
        grid-template-columns: repeat(2, minmax(110px, 1fr));
    }
}
.locked-btn {
    background: linear-gradient(135deg, #444, #222);
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none !important;
}

.locked-btn:hover {
    transform: none !important;
    box-shadow: none !important;
}
.rank-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.locked-btn {
    width: 100%;
    background: linear-gradient(135deg,#444,#222);
    cursor: not-allowed;
    opacity: .8;
}
/* يخلي كل كرت بنفس الارتفاع */
.ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    align-items: stretch;
}

/* يخلي الكرت Flex عمودي */
.rank-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* يخلي الفوتر ينزل تحت */
.rank-features {
    flex: 1;
}

/* يخلي الزر ثابت بأسفل الكرت */
.rank-footer {
    margin-top: auto;
    padding: 20px 30px 30px;
}
.countdown-box {
    margin-top: 25px;
    text-align: center;
}

.countdown-box h3 {
    color: #8A2BE2;
    margin-bottom: 15px;
    font-weight: 700;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown div {
    background: rgba(138,43,226,0.1);
    border: 1px solid rgba(138,43,226,0.3);
    padding: 15px 20px;
    border-radius: 15px;
    min-width: 90px;
}

.countdown span {
    font-size: 1.8em;
    font-weight: 800;
    display: block;
}

.countdown small {
    font-size: 0.8em;
    opacity: 0.7;
}
