/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Header Styles */
.header {
    background: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.language-selector:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #555;
}

.language-selector i {
    color: #ccc;
    font-size: 14px;
}

.language-selector span {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

/* Call Support Styles */
.call-support {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.call-support:hover {
    background: rgba(0, 212, 170, 0.2);
    border-color: rgba(0, 212, 170, 0.5);
    transform: translateY(-1px);
}

.call-support i {
    color: #00d4aa;
    font-size: 14px;
    flex-shrink: 0;
}

.call-text {
    font-size: 13px;
    color: #fff;
    font-weight: 400;
    line-height: 1.3;
}

.call-number {
    color: #00d4aa;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.call-number:hover {
    color: #00b894;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5c6bc0 100%);
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #fff);
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
    line-height: 1.2;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 50px;
    font-size: 18px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-input::placeholder {
    color: #999;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
}

/* Most Read Articles Section */
.most-read {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 50px;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.articles-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.article-item:hover {
    background: #fff;
    border-color: #00d4aa;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.1);
    transform: translateY(-2px);
}

.article-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    flex: 1;
    margin-right: 15px;
}

.article-item i {
    color: #00d4aa;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.article-item:hover i {
    transform: translateX(4px);
}

/* Featured Sections */
.featured-sections {
    padding: 80px 0 120px;
    background: #fff;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.featured-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

/* App Card Styles */
.app-card .card-image {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    width: 200px;
    height: 400px;
    background: #000;
    border-radius: 30px;
    padding: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.app-header {
    text-align: center;
    margin-bottom: 20px;
}

.app-logo {
    font-size: 14px;
    font-weight: 600;
    color: #00d4aa;
}

.balance {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 30px;
}

.crypto-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.crypto-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.crypto-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.crypto-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.crypto-price {
    font-size: 10px;
    color: #666;
}

.crypto-chart {
    font-size: 16px;
}

.card-background {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
}

.crypto-logo-small {
    font-size: 12px;
    color: rgba(0, 212, 170, 0.3);
    font-weight: 600;
}

/* Level Up Card Styles */
.level-up-card .card-image {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hexagon-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.hexagon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00d4aa 0%, #00a8cc 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 212, 170, 0.5);
}

.hexagon::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon-inner {
    position: relative;
    z-index: 2;
    color: #00d4aa;
}

.hexagon-inner svg {
    width: 40px;
    height: 40px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    padding: 30px 20px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        height: auto;
        min-height: 70px;
        padding: 10px 20px;
    }
    
    .logo {
        flex: 1;
        min-width: 0;
    }
    
    .logo-image {
        width: 120px;
        height: 120px;
    }
    
    .navbar-right {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .call-support {
        padding: 4px 8px;
        gap: 4px;
        order: 2;
    }
    
    .call-text {
        font-size: 10px;
    }
    
    .call-number {
        font-size: 10px;
    }
    
    .call-support i {
        font-size: 10px;
    }
    
    .language-selector {
        padding: 4px 8px;
        order: 1;
    }
    
    .language-selector span {
        font-size: 10px;
    }
    
    .language-selector i {
        font-size: 10px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .search-input {
        padding: 16px 50px 16px 45px;
        font-size: 16px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .phone-mockup {
        width: 150px;
        height: 300px;
        padding: 15px;
    }
    
    .phone-screen {
        padding: 15px;
    }
    
    .balance {
        font-size: 18px;
    }
    
    .crypto-name {
        font-size: 10px;
    }
    
    .crypto-price {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 8px 15px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .logo {
        text-align: center;
        order: 1;
    }
    
    .logo-image {
        width: 100px;
        height: 100px;
    }
    
    .navbar-right {
        gap: 4px;
        justify-content: center;
        order: 2;
        flex-wrap: nowrap;
    }
    
    .call-support {
        padding: 3px 6px;
        gap: 3px;
        flex: 1;
        min-width: 0;
    }
    
    .call-text {
        font-size: 9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .call-number {
        font-size: 9px;
    }
    
    .call-support i {
        font-size: 9px;
    }
    
    .language-selector {
        padding: 3px 6px;
        flex-shrink: 0;
    }
    
    .language-selector span {
        font-size: 9px;
    }
    
    .language-selector i {
        font-size: 9px;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .most-read {
        padding: 60px 0;
    }
    
    .featured-sections {
        padding: 60px 0 80px;
    }
    
    .article-item {
        padding: 15px;
    }
    
    .article-title {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .header-container {
        padding: 6px 10px;
    }
    
    .logo-image {
        width: 80px;
        height: 80px;
    }
    
    .call-text {
        font-size: 8px;
    }
    
    .call-number {
        font-size: 8px;
    }
    
    .call-support {
        padding: 2px 4px;
    }
    
    .call-support i {
        font-size: 8px;
    }
    
    .language-selector {
        padding: 2px 4px;
    }
    
    .language-selector span {
        font-size: 8px;
    }
    
    .language-selector i {
        font-size: 8px;
    }
}
