* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            overflow-x: hidden;
            max-width: 100vw;
        }

        @media (max-width: 768px) {
            * {
                overscroll-behavior-x: none !important;
                -webkit-overflow-scrolling: touch;
                box-sizing: border-box;
                -webkit-tap-highlight-color: transparent !important;
            }

            html {
                scroll-snap-type: none;
                scroll-behavior: auto !important;
            }
        }

        html, body {
            height: 100%;
            overflow-x: hidden; /* Yatay scroll'u engelle */
        }

        @media (min-width: 769px) {
            html, body {
                overflow: hidden !important; /* Sadece desktop'ta ana scroll'u kaldır */
            }
        }

        @media (max-width: 768px) {
            html {
                overflow-y: auto;
                overflow-x: hidden;
                height: 100%;
                width: 100%;
            }

            body {
                overflow-y: auto;
                overflow-x: hidden;
                min-height: 100vh;
                position: relative;
                width: 100%;
            }
            
            /* Mobilde scrollbar'ı gizle - layout shift'i engelle */
            html::-webkit-scrollbar,
            body::-webkit-scrollbar {
                display: none;
                width: 0;
                height: 0;
            }
            
            html,
            body {
                scrollbar-width: none; /* Firefox */
                -ms-overflow-style: none; /* IE ve Edge */
            }
            
            /* Tüm elemanların scrollbar'ını gizle - layout shift'i tamamen engelle */
            *::-webkit-scrollbar {
                display: none !important;
                width: 0 !important;
                height: 0 !important;
            }
            
            * {
                scrollbar-width: none !important;
                -ms-overflow-style: none !important;
            }
        }

        body {
            font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
            background: linear-gradient(135deg, #275085 0%, #1a3a5c 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: clamp(5px, 1.5vw, 10px);
            max-width: 100vw;
        }

        @media (max-width: 768px) {
            body {
                background: #275085 !important;
                align-items: center;
                padding: 8px;
            }
        }

        @media (min-width: 769px) {
            body::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="white" stop-opacity="0.15"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/><circle cx="900" cy="800" r="80" fill="url(%23a)"/></svg>') no-repeat center center;
                background-size: cover;
                pointer-events: none;
                animation: pulse 3s ease-in-out infinite;
            }
        }

        @media (max-width: 768px) {
            body::before {
                display: none !important;
                content: none !important;
            }
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.8; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.05); }
        }

        .container {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(25px);
            border-radius: clamp(12px, 1.5vh, 20px);
            padding: clamp(6px, 0.8vh, 10px);
            box-shadow: 0 clamp(20px, 4vw, 30px) clamp(50px, 8vw, 80px) rgba(0,0,0,0.2);
            max-width: clamp(1200px, 95vw, 1600px);
            width: 100%;
            height: 98vh;
            max-height: 98vh;
            text-align: center;
            position: relative;
            border: 1px solid rgba(255,255,255,0.3);
            display: flex;
            flex-direction: column;
            animation: containerEntrance 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            overflow: hidden;
        }

        @media (max-width: 768px) {
            /* Scroll jump'ı tamamen engellemek için sabit layout */
            html {
                height: 100%;
                overflow-y: auto;
                overflow-x: hidden;
                scroll-behavior: auto !important;
            }
            
            body {
                height: 100%;
                overflow-y: auto;
                overflow-x: hidden;
                position: relative;
                scroll-behavior: auto !important;
            }
            
            .container {
                overflow: visible;
                height: auto;
                min-height: 100%;
                max-height: none;
                animation: none !important;
                /* Layout shift'i engelle */
                contain: layout;
            }
            
            .welcome-section {
                animation: none !important;
                opacity: 1 !important;
                transform: none !important;
            }
            
            .widgets-container {
                animation: none !important;
                opacity: 1 !important;
                transform: none !important;
            }
            
            .search-container {
                animation: none !important;
                opacity: 1 !important;
                transform: none !important;
            }
            
            .search-wrapper {
                animation: none !important;
            }
            
            .search-icon {
                animation: none !important;
            }
            
            /* Container scrollbar'ını da gizle */
            .container::-webkit-scrollbar {
                display: none;
                width: 0;
                height: 0;
            }
            
            /* Portal grid scrollbar'ını da gizle */
            .portal-grid::-webkit-scrollbar {
                display: none !important;
                width: 0 !important;
                height: 0 !important;
            }
            
            .portal-grid {
                scrollbar-width: none !important;
                -ms-overflow-style: none !important;
                /* Layout shift'i engelle */
                contain: layout style paint;
            }
            
            /* Kart animasyonlarını kapat - scroll jump'a sebep oluyor */
            .portal-card {
                animation: none !important;
                opacity: 1 !important;
                transform: translateY(0) rotateX(0deg) scale(1) !important;
                /* Layout shift'i engelle */
                contain: layout style;
                will-change: auto;
            }
            
            .portal-card::before,
            .portal-card::after {
                animation: none !important;
            }
            
            .footer {
                /* Footer animasyonunu kapat - scroll jump'a sebep oluyor */
                animation: none !important;
                opacity: 1 !important;
                transform: translateY(0) !important;
            }
            
            /* Tüm animasyonları ve layout değişikliklerini engelle */
            * {
                animation-duration: 0s !important;
                transition-duration: 0s !important;
            }
            
            /* Ana kartın sürekli animasyonlarını aktif et - scroll jump yapmaz */
            .portal-card.main-card::before {
                animation: mainCardSweep 3s ease-in-out infinite !important;
            }
            
            .portal-card.main-card::after {
                animation: mainCardPulseCircle 4s ease-in-out infinite !important;
            }
            
            /* Mobilde hover animasyonlarını kapat */
            .portal-card:hover {
                transform: none !important;
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
            }
            
            .portal-card:hover::before {
                opacity: 0 !important;
            }
            
            /* Info badge tüm animasyonlarını ve efektlerini kapat */
            .info-badge,
            .info-badge:hover,
            .info-badge:active,
            .info-badge:focus,
            .info-badge:visited {
                transform: none !important;
                background: rgba(39, 80, 133, 0.9) !important;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
                transition: none !important;
                animation: none !important;
                -webkit-tap-highlight-color: transparent !important;
                -webkit-touch-callout: none !important;
                -webkit-user-select: none !important;
                user-select: none !important;
            }
            
            .info-badge::before,
            .info-badge::after {
                content: none !important;
                display: none !important;
                animation: none !important;
                opacity: 0 !important;
            }
            
            /* Info badge tıklama efektini de kapat */
            .info-badge:active {
                transform: none !important;
                filter: none !important;
            }
            
            /* Modal animasyonlarını kapat */
            .modal {
                animation: none !important;
            }
            
            .modal-content {
                animation: none !important;
                opacity: 1 !important;
                transform: none !important;
            }
        }

        @keyframes containerEntrance {
            0% {
                opacity: 0;
                transform: scale(0.8) translateY(50px);
                filter: blur(10px);
            }
            100% {
                opacity: 1;
                transform: scale(1) translateY(0);
                filter: blur(0);
            }
        }

        .welcome-section {
            margin-bottom: clamp(2px, 0.4vh, 4px);
            animation: fadeIn 0.8s ease-out;
            flex-shrink: 0;
        }

        .greeting {
            font-size: clamp(1.3rem, 2.2vh, 1.6rem);
            font-weight: 700;
            color: #275085;
            margin-bottom: 2px;
        }

        .greeting-text {
            background: linear-gradient(135deg, #275085, #1a3a5c);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .date-time {
            font-size: clamp(0.85rem, 1.6vh, 1rem);
            color: #7f8c8d;
            margin-bottom: clamp(4px, 0.6vh, 6px);
        }

        .widgets-container {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: clamp(4px, 0.5vh, 6px);
            margin-bottom: clamp(4px, 0.5vh, 6px);
            animation: slideUp 0.8s ease-out 0.2s both;
            flex-shrink: 0;
        }

        .widget {
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            border-radius: clamp(6px, 0.8vh, 8px);
            padding: clamp(3px, 0.4vh, 5px);
            border: 2px solid rgba(39, 80, 133, 0.1);
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .widget:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(39, 80, 133, 0.15);
            border-color: rgba(39, 80, 133, 0.2);
        }
        
        /* Güncelleme animasyonu */
        @keyframes updatePulse {
            0% { 
                box-shadow: 0 4px 15px rgba(0,0,0,0.08);
                border-color: rgba(39, 80, 133, 0.1);
            }
            50% { 
                box-shadow: 0 6px 20px rgba(39, 80, 133, 0.3);
                border-color: rgba(39, 80, 133, 0.5);
                transform: scale(1.02);
            }
            100% { 
                box-shadow: 0 4px 15px rgba(0,0,0,0.08);
                border-color: rgba(39, 80, 133, 0.1);
            }
        }

        .widget.updating {
            animation: updatePulse 0.6s ease-in-out;
        }

        .widget-title {
            font-size: clamp(0.8rem, 1.45vh, 0.9rem);
            font-weight: 600;
            color: #275085;
            margin-bottom: clamp(3px, 0.4vh, 4px);
            padding-bottom: clamp(2px, 0.3vh, 3px);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 3px;
            border-bottom: 1px solid rgba(39, 80, 133, 0.2);
        }

        .widget-content {
            font-size: clamp(0.9rem, 1.65vh, 1.05rem);
            font-weight: 700;
            color: #2c3e50;
        }

        .weather-icon {
            font-size: clamp(1.6rem, 2.6vh, 2rem);
            margin: clamp(2px, 0.3vh, 3px) 0;
        }

        .temp {
            font-size: clamp(1.15rem, 2vh, 1.45rem);
            font-weight: 700;
            color: #275085;
        }

        .weather-desc {
            font-size: clamp(0.75rem, 1.3vh, 0.85rem);
            color: #7f8c8d;
            text-transform: capitalize;
        }

        .weather-split, .details-split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: clamp(6px, 0.8vh, 8px);
            align-items: center;
        }
        
        .weather-split > div {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .details-split > div {
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            border: 1px solid rgba(39, 80, 133, 0.08);
            border-radius: clamp(6px, 0.8vh, 8px);
            padding: clamp(4px, 0.6vh, 6px);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .details-split > div + div {
            border-left: 1px solid rgba(39, 80, 133, 0.12);
        }

        .details-column-title {
            font-size: clamp(0.8rem, 1.4vh, 0.9rem);
            font-weight: 700;
            color: #275085;
            margin-bottom: clamp(4px, 0.6vh, 6px);
            padding-bottom: clamp(3px, 0.4vh, 4px);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            border-bottom: 1px solid rgba(39, 80, 133, 0.15);
        }

        .details-column-title::before {
            content: '';
            width: clamp(5px, 0.7vh, 6px);
            height: clamp(5px, 0.7vh, 6px);
            border-radius: 50%;
            background: #275085;
            display: inline-block;
        }

        /* 7-Day Forecast Styles */
        .forecast-split {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* Eşit genişlik garantisi - minmax ile zorunlu eşitlik */
            gap: clamp(6px, 0.8vh, 8px);
            align-items: stretch; /* Her iki sütun aynı yükseklikte olacak */
            width: 100%; /* Tam genişlik kullan */
        }

        .forecast-split > div {
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            border: 1px solid rgba(39, 80, 133, 0.08);
            border-radius: clamp(6px, 0.8vh, 8px);
            padding: clamp(3px, 0.4vh, 4px);
            min-width: 0; /* Grid içinde shrink olmasını engelle */
            max-width: 100%; /* Maximum genişlik limiti */
            width: 100%; /* Tam genişlik kullan */
            display: flex;
            flex-direction: column; /* İçerik dikey sıralanacak */
        }

        /* Forecast sütunlarındaki başlıklar için */
        .forecast-split > div > .details-column-title {
            width: 100%;
            box-sizing: border-box;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .forecast-container {
            display: grid;
            grid-template-columns: 1fr 1fr; /* 2x2 grid layout */
            grid-template-rows: auto auto; /* İçeriğe göre yükseklik */
            gap: clamp(4px, 0.5vh, 5px);
            flex: 1;
            min-height: 0;
            width: 100%;
            box-sizing: border-box;
        }

        .forecast-day {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;
            gap: clamp(2px, 0.3vh, 3px);
            padding: clamp(4px, 0.5vh, 5px) clamp(4px, 0.5vh, 5px);
            border-radius: clamp(4px, 0.5vh, 5px);
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            border: 1px solid rgba(39, 80, 133, 0.1);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            width: 100%;
            height: auto; /* İçeriğe göre yükseklik */
            box-sizing: border-box;
            min-width: 0;
            min-height: 0;
        }

        .forecast-day-name {
            font-weight: 600;
            color: #2c3e50;
            font-size: clamp(0.65rem, 1vh, 0.72rem);
            text-align: left;
            width: 100%;
            margin-bottom: clamp(1px, 0.2vh, 2px);
            line-height: 1.2;
        }

        .forecast-day-icon {
            font-size: clamp(1.2rem, 1.8vh, 1.5rem);
            text-align: center;
            width: 100%;
            margin: clamp(2px, 0.3vh, 3px) 0;
            line-height: 1;
        }

        .forecast-day-temp {
            font-weight: 700;
            color: #275085;
            font-size: clamp(0.85rem, 1.3vh, 1rem);
            text-align: left;
            width: 100%;
            margin-bottom: clamp(1px, 0.2vh, 2px);
            line-height: 1.2;
        }

        .forecast-day-desc {
            font-weight: 500;
            color: #7f8c8d;
            font-size: clamp(0.6rem, 0.9vh, 0.68rem);
            text-align: left;
            width: 100%;
            line-height: 1.2;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .forecast-loading {
            text-align: center;
            color: #7f8c8d;
            font-size: clamp(0.75rem, 1.3vh, 0.8rem);
            padding: clamp(8px, 1vh, 10px);
        }

        /* Prayer Times Styles */
        #prayerContent > div {
            display: flex;
            flex-direction: column;
        }

        #prayerContent .currency-label {
            order: 1;
            margin-bottom: clamp(4px, 0.5vh, 5px);
            text-align: center;
            font-weight: 600;
            color: #275085;
        }

        #weatherContent .currency-label {
            text-align: center;
            font-weight: 600;
            color: #275085;
            margin-bottom: clamp(4px, 0.5vh, 5px);
        }

        .prayer-times {
            order: 2;
            display: flex;
            flex-direction: column;
            gap: clamp(2px, 0.35vh, 3px);
            font-size: clamp(0.7rem, 1.2vh, 0.75rem);
        }

        .prayer-item {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: clamp(6px, 0.8vh, 8px);
            align-items: center;
            padding: clamp(3px, 0.4vh, 4px) clamp(5px, 0.6vh, 7px);
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            border-radius: clamp(4px, 0.5vh, 5px);
            border: 1px solid rgba(39, 80, 133, 0.08);
            transition: all 0.2s ease;
        }

        .prayer-item:hover {
            transform: translateX(2px);
            border-color: rgba(39, 80, 133, 0.15);
            box-shadow: 0 2px 8px rgba(39, 80, 133, 0.1);
        }

        .prayer-name {
            color: #2c3e50;
            font-weight: 600;
            text-align: left;
        }

        .prayer-time {
            color: #275085;
            font-weight: 700;
            font-size: clamp(0.78rem, 1.35vh, 0.88rem);
            text-align: right;
            font-family: 'Courier New', monospace;
            letter-spacing: 0.5px;
        }

        .prayer-loading {
            text-align: center;
            color: #7f8c8d;
            font-size: clamp(0.75rem, 1.3vh, 0.8rem);
            padding: clamp(8px, 1vh, 10px);
        }
        
        #tipsContent {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
        }
        
        #currencyContent {
            display: flex;
            flex-direction: column;
            gap: clamp(2px, 0.35vh, 3px);
            padding: clamp(2px, 0.3vh, 3px);
        }

        .currency-item {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: clamp(6px, 0.8vh, 8px);
            align-items: center;
            padding: clamp(3px, 0.4vh, 4px) clamp(5px, 0.6vh, 7px);
            margin-bottom: clamp(2px, 0.35vh, 3px);
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            border-radius: clamp(4px, 0.5vh, 5px);
            border: 1px solid rgba(39, 80, 133, 0.08);
            font-size: clamp(0.75rem, 1.3vh, 0.85rem);
            transition: all 0.2s ease;
        }

        .currency-item:hover {
            transform: translateX(2px);
            border-color: rgba(39, 80, 133, 0.15);
            box-shadow: 0 2px 8px rgba(39, 80, 133, 0.1);
        }

        .currency-label {
            color: #2c3e50;
            font-weight: 600;
            white-space: nowrap;
            text-align: left;
        }

        .currency-value {
            color: #275085;
            font-weight: 700;
            text-align: right;
            font-family: 'Courier New', monospace;
            letter-spacing: 0.5px;
            font-size: clamp(0.78rem, 1.35vh, 0.88rem);
            white-space: nowrap;
        }

        .search-container {
            margin-bottom: clamp(4px, 0.5vh, 6px);
            animation: slideUp 0.8s ease-out 0.4s both, searchPulse 2s ease-in-out infinite;
            flex-shrink: 0;
        }

        @keyframes searchPulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.02);
            }
        }

        .search-box {
            display: flex;
            align-items: center;
            background: linear-gradient(145deg, #ffffff, #f0f7ff);
            border: 3px solid #275085;
            border-radius: 50px;
            padding: clamp(2px, 0.4vh, 4px) clamp(12px, 1.4vw, 16px);
            box-shadow: 0 8px 25px rgba(39, 80, 133, 0.12), 
                        0 0 0 0 rgba(39, 80, 133, 0.15);
            transition: all 0.3s ease;
            animation: searchGlow 2s ease-in-out infinite;
            max-width: clamp(400px, 60vw, 700px);
            margin: 0 auto;
        }

        @keyframes searchGlow {
            0%, 100% {
                box-shadow: 0 8px 25px rgba(39, 80, 133, 0.12), 
                            0 0 20px rgba(39, 80, 133, 0.08);
            }
            50% {
                box-shadow: 0 8px 25px rgba(39, 80, 133, 0.15), 
                            0 0 30px rgba(39, 80, 133, 0.15);
            }
        }

        .search-box:hover {
            border-color: #1a3a5c;
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(39, 80, 133, 0.15),
                        0 0 40px rgba(39, 80, 133, 0.12);
        }

        .search-box:focus-within {
            border-color: #1a3a5c;
            box-shadow: 0 12px 35px rgba(39, 80, 133, 0.2),
                        0 0 50px rgba(39, 80, 133, 0.2);
            transform: translateY(-4px) scale(1.02);
            animation: none;
        }

        .search-icon {
            font-size: clamp(1.1rem, 1.8vh, 1.3rem);
            color: #275085;
            margin-right: clamp(8px, 1vw, 10px);
            animation: searchIconBounce 2s ease-in-out infinite;
        }

        @keyframes searchIconBounce {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
        }

        .search-input {
            flex: 1;
            border: none;
            outline: none;
            font-size: clamp(0.9rem, 1.6vh, 1.05rem);
            color: #2c3e50;
            background: transparent;
            font-weight: 500;
        }

        .search-input::placeholder {
            color: #7f8c8d;
            font-weight: 600;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .widgets-container {
                grid-template-columns: 1fr;
                gap: clamp(8px, 1vh, 10px);
                display: flex;
                flex-direction: column;
            }

            /* Mobilde widget sıralaması */
            #weatherWidget {
                order: 1;
            }

            #forecastWidget {
                order: 2;
            }

            #currencyWidget {
                order: 3;
            }

            #tipsWidget {
                order: 4;
            }

            .widget {
                padding: clamp(10px, 1.5vh, 14px);
            }

            .widget-title {
                font-size: clamp(0.85rem, 1.5vh, 0.95rem);
                margin-bottom: clamp(6px, 0.8vh, 8px);
                padding-bottom: clamp(4px, 0.5vh, 5px);
            }

            .weather-info, .currency-item, #tipsContent {
                font-size: clamp(0.8rem, 1.3vh, 0.85rem);
            }

            #tipsContent .tip-item {
                margin-bottom: clamp(10px, 1.2vh, 12px);
            }

            .greeting {
                font-size: 1.3rem;
            }

            .date-time {
                font-size: 0.85rem;
            }

            .search-box {
                padding: 4px 14px;
                border-width: 2px;
                max-width: 95%;
            }

            .search-icon {
                font-size: 1.2rem;
            }

            .search-input {
                font-size: 0.95rem;
            }

            /* Mobilde forecast widget düzenlemeleri */
            .forecast-split {
                grid-template-columns: 1fr; /* Mobilde tek sütun */
                gap: clamp(8px, 1vh, 10px);
                align-items: stretch;
                width: 100%;
            }

            .forecast-split > div {
                min-width: 0;
                max-width: 100%;
                width: 100%;
            }

            .forecast-container {
                grid-template-columns: 1fr 1fr; /* Mobilde de 2x2 grid */
                grid-template-rows: 1fr 1fr;
                gap: clamp(4px, 0.5vh, 5px);
                min-height: 0;
            }

            .forecast-day {
                padding: clamp(5px, 0.6vh, 6px) clamp(5px, 0.6vh, 6px);
                gap: clamp(2px, 0.3vh, 3px);
            }

            .forecast-day-icon {
                font-size: clamp(1.1rem, 1.6vh, 1.3rem);
            }

            .forecast-day-name {
                font-size: clamp(0.62rem, 0.95vh, 0.7rem);
            }

            .forecast-day-temp {
                font-size: clamp(0.8rem, 1.2vh, 0.95rem);
            }

            .forecast-day-desc {
                font-size: clamp(0.58rem, 0.85vh, 0.65rem);
            }
        }

        /* Orta boy ekranlar için ekstra güvence */
        @media (min-width: 769px) and (max-width: 1200px) {
            .forecast-split {
                grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* Eşit genişlik garantisi */
                align-items: stretch;
                width: 100%;
            }

            .forecast-split > div {
                min-width: 0;
                max-width: 100%;
                width: 100%;
            }
        }

        .logo-container {
            display: none; /* Logo'yu gizle, welcome section var artık */
        }

        .title {
            display: none; /* Title'ı gizle */
        }

        .subtitle {
            display: none; /* Subtitle'ı gizle */
        }

        .main-card-section {
            display: none; /* Main card section'ı gizle */
        }

        .portal-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: clamp(4px, 0.5vh, 6px);
            flex: 1;
            align-content: start;
            align-items: stretch;
            grid-auto-rows: 1fr;
            padding: 0;
            overflow: visible;
            min-height: 0;
            max-height: 100%;
        }
        
        .portal-grid:has(.info-badge:hover) {
            overflow: visible;
        }
        
        /* Scrollbar'ı tamamen gizle */
        .portal-grid {
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE and Edge */
        }
        
        .portal-grid::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

        /* Container scrollbar'ını tamamen gizle */
        .container {
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE and Edge */
        }
        
        .container::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
            width: 0;
            height: 0;
        }

        .portal-card {
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            border-radius: clamp(8px, 1vh, 10px);
            padding: clamp(3px, 0.4vh, 5px) clamp(3px, 0.4vh, 5px);
            text-decoration: none;
            color: inherit;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 2px solid rgba(39, 80, 133, 0.1);
            position: relative;
            overflow: hidden;
            animation: cardEntrance 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) calc(1s + var(--delay)) both;
            min-height: clamp(50px, 6vh, 65px);
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            cursor: pointer;
            z-index: 1;
        }

        .info-badge {
            position: absolute;
            top: clamp(4px, 0.5vh, 6px);
            right: clamp(4px, 0.5vh, 6px);
            width: clamp(18px, 2.2vh, 22px);
            height: clamp(18px, 2.2vh, 22px);
            background: rgba(39, 80, 133, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: clamp(11px, 1.4vh, 13px);
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 100;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }

        .info-badge:hover {
            background: rgba(39, 80, 133, 1);
            transform: scale(1.1);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
            z-index: 200;
        }

        .portal-card:has(.info-badge:hover) {
            overflow: visible !important;
            z-index: 100;
        }

        .portal-card:hover {
            z-index: 50;
            transform: translateY(-4px);
            box-shadow: 0 10px 20px rgba(39, 80, 133, 0.15);
            border-color: rgba(39, 80, 133, 0.4);
        }

        .portal-card::before,
        .portal-card::after {
            pointer-events: none;
        }

        .portal-grid {
            isolation: isolate;
        }

        .info-popup {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: white;
            border: 2px solid #275085;
            border-radius: clamp(6px, 0.8vh, 8px);
            padding: clamp(8px, 1vh, 10px);
            min-width: clamp(200px, 25vw, 280px);
            max-width: clamp(250px, 32vw, 350px);
            max-height: 120px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 500;
            pointer-events: none;
            white-space: normal;
            overflow: hidden;
        }

        /* Desktop'ta hover popup göster */
        @media (min-width: 769px) {
            .info-badge:hover .info-popup {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }
        }

        /* Mobilde popup'ı tamamen gizle */
        @media (max-width: 768px) {
            .info-popup {
                display: none !important;
            }
        }

        .info-popup::before {
            content: '';
            position: absolute;
            bottom: 100%;
            right: clamp(6px, 0.8vh, 8px);
            border: 8px solid transparent;
            border-bottom-color: #275085;
        }

        /* Sol sütun kartları - sağa doğru aç (2., 6., 10., 14. kartlar - grid 1. sütun) */
        .portal-card:nth-child(4n+2) .info-popup {
            right: auto;
            left: 0;
        }

        .portal-card:nth-child(4n+2) .info-popup::before {
            right: auto;
            left: clamp(6px, 0.8vh, 8px);
        }

        /* Sağ sütun kartları - sola doğru aç (5., 9., 13., 17. kartlar - grid 4. sütun) */
        .portal-card:nth-child(4n+1):not(:first-child) .info-popup {
            right: 0;
            left: auto;
        }

        .portal-card:nth-child(4n+1):not(:first-child) .info-popup::before {
            right: clamp(6px, 0.8vh, 8px);
            left: auto;
        }

        /* Alt 3 satırdaki kartlar - yukarı doğru aç (son 12 kart: 4 sütun x 3 satır) */
        .portal-card:nth-last-child(-n+12) .info-popup {
            top: auto;
            bottom: calc(100% + 2px);
            transform: translateY(5px);
        }

        .portal-card:nth-last-child(-n+12) .info-badge:hover .info-popup {
            transform: translateY(0);
        }

        .portal-card:nth-last-child(-n+12) .info-popup::before {
            border-bottom-color: transparent;
            border-top-color: #275085;
            bottom: auto;
            top: 100%;
        }

        /* Çok büyük ekranlar için popup konumları (5 sütun) */
        @media (min-width: 1800px) {
            /* Sol sütun - sağa aç (2, 7, 12...) */
            .portal-card:nth-child(5n+2) .info-popup {
                right: auto;
                left: 0;
            }

            .portal-card:nth-child(5n+2) .info-popup::before {
                right: auto;
                left: clamp(6px, 0.8vh, 8px);
            }

            /* Sağ sütun - sola aç (6, 11, 16...) */
            .portal-card:nth-child(5n+1):not(:first-child) .info-popup {
                right: 0;
                left: auto;
            }

            .portal-card:nth-child(5n+1):not(:first-child) .info-popup::before {
                right: clamp(6px, 0.8vh, 8px);
                left: auto;
            }

            /* Alt 3 satır (son 15 kart: 5 sütun x 3 satır) */
            .portal-card:nth-last-child(-n+15) .info-popup {
                top: auto;
                bottom: calc(100% + 2px);
                transform: translateY(5px);
            }

            .portal-card:nth-last-child(-n+15) .info-badge:hover .info-popup {
                transform: translateY(0);
            }

            .portal-card:nth-last-child(-n+15) .info-popup::before {
                border-bottom-color: transparent;
                border-top-color: #275085;
                bottom: auto;
                top: 100%;
            }
        }

        /* Orta ekran için popup konumları (3 sütun) */
        @media (max-width: 1200px) and (min-width: 769px) {
            /* Sol sütun - sağa aç (2, 5, 8, 11...) */
            .portal-card:nth-child(3n+2) .info-popup {
                right: auto;
                left: 0;
            }

            .portal-card:nth-child(3n+2) .info-popup::before {
                right: auto;
                left: clamp(6px, 0.8vh, 8px);
            }

            /* Sağ sütun - sola aç (4, 7, 10, 13...) */
            .portal-card:nth-child(3n+1):not(:first-child) .info-popup {
                right: 0;
                left: auto;
            }

            .portal-card:nth-child(3n+1):not(:first-child) .info-popup::before {
                right: clamp(6px, 0.8vh, 8px);
                left: auto;
            }

            /* Alt 3 satır (son 9 kart: 3 sütun x 3 satır) */
            .portal-card:nth-last-child(-n+9) .info-popup {
                top: auto;
                bottom: calc(100% + 2px);
                transform: translateY(5px);
            }

            .portal-card:nth-last-child(-n+9) .info-badge:hover .info-popup {
                transform: translateY(0);
            }

            .portal-card:nth-last-child(-n+9) .info-popup::before {
                border-bottom-color: transparent;
                border-top-color: #275085;
                bottom: auto;
                top: 100%;
            }
        }

        /* Mobil görünüm için popup konumları (2 sütun) */
        @media (max-width: 768px) {
            /* Sol sütun - sağa aç (çift kartlar: 2, 4, 6, 8...) */
            .portal-card:nth-child(2n) .info-popup {
                right: auto;
                left: 0;
            }

            .portal-card:nth-child(2n) .info-popup::before {
                right: auto;
                left: clamp(6px, 0.8vh, 8px);
            }

            /* Sağ sütun - sola aç (tek kartlar: 3, 5, 7, 9..., 1 ana kart hariç) */
            .portal-card:nth-child(2n+1):not(:first-child) .info-popup {
                right: 0;
                left: auto;
            }

            .portal-card:nth-child(2n+1):not(:first-child) .info-popup::before {
                right: clamp(6px, 0.8vh, 8px);
                left: auto;
            }

            /* Mobilde alt 3 satır (son 6 kart: 2 sütun x 3 satır) */
            .portal-card:nth-last-child(-n+6) .info-popup {
                top: auto;
                bottom: calc(100% + 2px);
                transform: translateY(5px);
            }

            .portal-card:nth-last-child(-n+6) .info-badge:hover .info-popup {
                transform: translateY(0);
            }

            .portal-card:nth-last-child(-n+6) .info-popup::before {
                border-bottom-color: transparent;
                border-top-color: #275085;
                bottom: auto;
                top: 100%;
            }
        }

        .info-popup-title {
            font-weight: 600;
            color: #275085;
            font-size: clamp(0.7rem, 1.1vh, 0.8rem);
            margin-bottom: clamp(4px, 0.6vh, 6px);
            padding-bottom: clamp(3px, 0.5vh, 5px);
            border-bottom: 2px solid rgba(39, 80, 133, 0.2);
        }

        .info-popup-content {
            font-size: clamp(0.65rem, 1vh, 0.75rem);
            color: #2c3e50;
            line-height: 1.5;
            max-height: 60px;
            overflow: hidden;
            position: relative;
            font-weight: 400;
        }

        .info-popup-item {
            margin-bottom: clamp(3px, 0.4vh, 5px);
            padding-left: clamp(10px, 1.2vh, 14px);
            position: relative;
            text-align: left;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-weight: 400;
        }

        .info-popup-item::before {
            content: '•';
            position: absolute;
            left: 0;
            top: 0;
            color: #275085;
            font-weight: 600;
        }

        .info-popup-item:last-child {
            margin-bottom: 0;
        }

        .info-popup-more {
            margin-top: 6px;
            padding-top: 6px;
            border-top: 1px solid rgba(39, 80, 133, 0.2);
            font-size: clamp(0.6rem, 0.9vh, 0.7rem);
            color: #7f8c8d;
            font-weight: 400;
            text-align: center;
            font-style: italic;
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            animation: fadeIn 0.3s ease;
        }

        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            margin: auto;
            padding: clamp(20px, 3vh, 30px);
            border: 3px solid #275085;
            border-radius: clamp(12px, 1.5vh, 16px);
            width: 90%;
            max-width: clamp(400px, 50vw, 600px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
            animation: slideIn 0.3s ease;
            position: relative;
        }

        .modal-close {
            color: #7f8c8d;
            float: right;
            font-size: clamp(24px, 3vh, 32px);
            font-weight: bold;
            line-height: 1;
            cursor: pointer;
            transition: all 0.3s ease;
            position: absolute;
            right: clamp(15px, 2vh, 20px);
            top: clamp(15px, 2vh, 20px);
        }

        .modal-close:hover,
        .modal-close:focus {
            color: #275085;
            transform: rotate(90deg);
        }

        .modal-title {
            color: #275085;
            font-size: clamp(1.2rem, 2.2vh, 1.5rem);
            font-weight: 600;
            margin-bottom: clamp(15px, 2vh, 20px);
            padding-bottom: clamp(10px, 1.5vh, 15px);
            border-bottom: 3px solid rgba(39, 80, 133, 0.2);
            text-align: left;
        }

        .modal-body {
            color: #2c3e50;
            font-size: clamp(0.9rem, 1.5vh, 1rem);
            line-height: 1.6;
            text-align: left;
            font-weight: 400;
        }

        /* vCard Choice Modal Styles */
        .vcard-choice-modal {
            max-width: 600px;
        }

        .vcard-choice-body {
            display: flex;
            flex-direction: column;
            gap: clamp(12px, 1.5vh, 16px);
            padding: clamp(8px, 1vh, 10px) 0;
        }

        .vcard-choice-option {
            display: flex;
            align-items: center;
            gap: clamp(15px, 2vh, 20px);
            padding: clamp(15px, 2vh, 20px);
            background: linear-gradient(145deg, #f8f9fa, #ffffff);
            border: 2px solid #e0e0e0;
            border-radius: clamp(10px, 1.2vh, 12px);
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .vcard-choice-option:hover {
            border-color: #275085;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(39, 80, 133, 0.15);
            background: linear-gradient(145deg, #ffffff, #f0f4f8);
        }

        .vcard-choice-icon {
            font-size: clamp(35px, 4vh, 45px);
            flex-shrink: 0;
            width: clamp(60px, 7vh, 70px);
            height: clamp(60px, 7vh, 70px);
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(145deg, #e3f2fd, #bbdefb);
            border-radius: clamp(8px, 1vh, 10px);
        }

        .vcard-choice-text {
            flex: 1;
        }

        .vcard-choice-text h3 {
            margin: 0 0 clamp(4px, 0.5vh, 6px) 0;
            color: #275085;
            font-size: clamp(1rem, 1.6vh, 1.1rem);
            font-weight: 600;
            text-align: left;
        }

        .vcard-choice-text p {
            margin: 0;
            color: #7f8c8d;
            font-size: clamp(0.85rem, 1.3vh, 0.9rem);
            line-height: 1.4;
            text-align: left;
        }

        .modal-body ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .modal-body li {
            padding: clamp(8px, 1.2vh, 12px) 0;
            padding-left: clamp(20px, 2.5vh, 25px);
            position: relative;
            border-bottom: 1px solid rgba(39, 80, 133, 0.1);
            font-weight: 400;
        }

        .modal-body li:last-child {
            border-bottom: none;
        }

        .modal-body li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #275085;
            font-weight: 600;
            font-size: 1.2em;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-50px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* Mobil modal optimizasyonu */
        @media (max-width: 768px) {
            .modal-content {
                width: 95%;
                max-width: 100%;
                padding: clamp(15px, 2.5vh, 20px);
            }

            .modal-title {
                font-size: clamp(1rem, 1.8vh, 1.2rem);
                margin-bottom: clamp(10px, 1.5vh, 15px);
                padding-right: 30px;
                text-align: left;
            }

            .modal-body {
                font-size: clamp(0.85rem, 1.3vh, 0.9rem);
                text-align: left;
            }

            .modal-body li {
                text-align: left;
            }

            .modal-close {
                font-size: clamp(20px, 2.5vh, 24px);
                right: clamp(10px, 1.5vh, 15px);
                top: clamp(10px, 1.5vh, 15px);
            }

            .vcard-choice-option {
                padding: clamp(12px, 1.5vh, 15px);
                gap: clamp(12px, 1.5vh, 15px);
            }

            .vcard-choice-icon {
                font-size: clamp(30px, 3.5vh, 35px);
                width: clamp(50px, 6vh, 60px);
                height: clamp(50px, 6vh, 60px);
            }

            .vcard-choice-text h3 {
                font-size: clamp(0.95rem, 1.5vh, 1rem);
            }

            .vcard-choice-text p {
                font-size: clamp(0.8rem, 1.2vh, 0.85rem);
            }
        }

        @keyframes cardEntrance {
            0% {
                opacity: 0;
                transform: translateY(-60px) rotateX(-45deg) scale(0.8);
            }
            100% {
                opacity: 1;
                transform: translateY(0) rotateX(0deg) scale(1);
            }
        }

        .portal-card.main-card {
            background: linear-gradient(145deg, #4a7ab8 0%, #3a6ba5 25%, #2d5c92 50%, #255080 75%, #1e446d 100%);
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 5px 5px rgba(39, 80, 133, 0.4),
                        0 0 5px rgba(74, 122, 184, 0.1);
            min-height: clamp(60px, 7vh, 80px);
            width: 99.5%;
            margin: clamp(1px, 0.2vh, 2px) auto clamp(1px, 0.2vh, 2px) auto;
            grid-column: 1 / -1;
            padding: clamp(4px, 0.6vh, 7px) clamp(5px, 0.8vh, 8px);
            position: relative;
            overflow: hidden;
            z-index: 20;
            background-size: 200% 200%;
            transition: transform 0.3s ease;
        }

        .portal-card.main-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.1),
                transparent
            );
            animation: mainCardSweep 3s ease-in-out infinite;
            z-index: 0;
        }

        .portal-card.main-card::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
            transform: translate(-50%, -50%);
            animation: mainCardPulseCircle 4s ease-in-out infinite;
            z-index: 0;
        }


        @keyframes mainCardSweep {
            0% {
                left: -100%;
            }
            50%, 100% {
                left: 100%;
            }
        }

        @keyframes mainCardPulseCircle {
            0%, 100% {
                width: 0;
                height: 0;
                opacity: 0;
            }
            50% {
                width: 200px;
                height: 200px;
                opacity: 0.6;
            }
        }

        .portal-card.main-card .portal-icon {
            background: rgba(255, 255, 255, 0.4);
            color: white;
            width: clamp(100px, 11vw, 140px);
            height: clamp(35px, 4.5vh, 48px);
            font-size: clamp(16px, 2.2vh, 20px);
            border: 2px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.4);
            margin: 0 auto clamp(4px, 0.5vh, 6px);
            position: relative;
            z-index: 1;
        }

        .portal-card.main-card .portal-icon img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .portal-card.main-card:hover .portal-icon {
            transform: none;
        }

        .portal-card.main-card .portal-title {
            color: white;
            font-weight: 700;
            font-size: clamp(0.9rem, 1.8vh, 1.1rem);
            position: relative;
            z-index: 1;
        }

        .portal-card.main-card .portal-description {
            color: rgba(255, 255, 255, 0.9);
            font-size: clamp(0.8rem, 1.5vh, 0.95rem);
            margin-top: clamp(2px, 0.3vh, 3px);
            position: relative;
            z-index: 1;
        }

        .portal-card.main-card:hover {
            transform: translateY(-2px);
        }

        .portal-card:nth-child(1) { --delay: 0s; }
        .portal-card:nth-child(2) { --delay: 0.08s; }
        .portal-card:nth-child(3) { --delay: 0.12s; }
        .portal-card:nth-child(4) { --delay: 0.16s; }
        .portal-card:nth-child(5) { --delay: 0.2s; }
        .portal-card:nth-child(6) { --delay: 0.24s; }
        .portal-card:nth-child(7) { --delay: 0.28s; }
        .portal-card:nth-child(8) { --delay: 0.32s; }
        .portal-card:nth-child(9) { --delay: 0.36s; }
        .portal-card:nth-child(10) { --delay: 0.4s; }
        .portal-card:nth-child(11) { --delay: 0.44s; }
        .portal-card:nth-child(12) { --delay: 0.48s; }
        .portal-card:nth-child(13) { --delay: 0.52s; }
        .portal-card:nth-child(14) { --delay: 0.56s; }
        .portal-card:nth-child(15) { --delay: 0.6s; }
        .portal-card:nth-child(16) { --delay: 0.64s; }
        .portal-card:nth-child(17) { --delay: 0.68s; }
        .portal-card:nth-child(18) { --delay: 0.72s; }
        .portal-card:nth-child(19) { --delay: 0.76s; }
        .portal-card:nth-child(20) { --delay: 0.8s; }
        .portal-card:nth-child(21) { --delay: 0.84s; }

        .portal-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(39, 80, 133, 0.15), transparent);
            transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            pointer-events: none;
            z-index: 0;
        }

        .portal-card.main-card::before {
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        }

        .portal-card:hover::before {
            left: 100%;
        }

        .portal-card::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: radial-gradient(circle, rgba(39, 80, 133, 0.15) 0%, transparent 70%);
            transform: translate(-50%, -50%);
            transition: all 0.4s ease;
            border-radius: 50%;
            pointer-events: none;
            z-index: 0;
        }

        .portal-card:hover::after {
            width: 150px;
            height: 150px;
        }

        .portal-icon {
            width: clamp(30px, 3.7vh, 38px);
            height: clamp(30px, 3.7vh, 38px);
            margin: 0 auto clamp(4px, 0.6vh, 5px);
            background: linear-gradient(135deg, #275085, #1a3a5c);
            border-radius: clamp(9px, 1.1vh, 11px);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: clamp(15px, 1.9vh, 19px);
            color: white;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            z-index: 2;
        }

        .portal-card:hover .portal-icon {
            transform: scale(1.05) rotate(5deg);
            box-shadow: 0 6px 15px rgba(39, 80, 133, 0.3);
        }

        .portal-title {
            font-size: clamp(0.85rem, 1.5vh, 0.95rem);
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: clamp(2px, 0.3vh, 3px);
            position: relative;
            z-index: 2;
            transition: all 0.3s ease;
        }

        .portal-card:hover .portal-title {
            transform: translateY(-1px);
            font-weight: 700;
        }

        .portal-description {
            font-size: clamp(0.75rem, 1.3vh, 0.85rem);
            color: #7f8c8d;
            line-height: 1.35;
            position: relative;
            z-index: 2;
            transition: all 0.3s ease;
        }

        .portal-card:hover .portal-description {
            color: #5a6c7d;
        }

        .portal-card.main-card:hover .portal-description {
            transform: translateY(-1px);
            color: #ffffff;
        }

        .footer {
            margin-top: clamp(2px, 0.3vh, 4px);
            padding-top: clamp(2px, 0.3vh, 4px);
            border-top: 1px solid rgba(127, 140, 141, 0.2);
            color: #7f8c8d;
            font-size: clamp(0.65rem, 1vh, 0.75rem);
            animation: footerSlideUp 0.8s ease-out 1.8s both;
            text-align: center;
            word-wrap: break-word;
            hyphens: auto;
            flex-shrink: 0;
        }

        @keyframes footerSlideUp {
            0% {
                opacity: 0;
                transform: translateY(30px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .particle {
            position: absolute;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            pointer-events: none;
            animation: particleFloat 8s linear infinite;
        }

        .particle:nth-child(1) {
            width: 4px;
            height: 4px;
            top: 80%;
            left: 20%;
            animation-delay: 0s;
        }

        .particle:nth-child(2) {
            width: 6px;
            height: 6px;
            top: 60%;
            left: 80%;
            animation-delay: 2s;
        }

        .particle:nth-child(3) {
            width: 3px;
            height: 3px;
            top: 30%;
            left: 70%;
            animation-delay: 4s;
        }

        @keyframes particleFloat {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }

        /* Responsive breakpoints */
        /* Çok büyük ekranlar - 5 sütun */
        @media (min-width: 1800px) {
            .portal-grid {
                grid-template-columns: repeat(5, 1fr);
                align-items: stretch;
                grid-auto-rows: 1fr;
            }
        }

        /* Büyük ekranlar - 4 sütun (varsayılan) */
        @media (min-width: 1201px) and (max-width: 1799px) {
            .portal-grid {
                grid-template-columns: repeat(4, 1fr);
                align-items: stretch;
                grid-auto-rows: 1fr;
            }
        }

        /* Orta ekranlar - 3 sütun */
        @media (max-width: 1200px) and (min-width: 769px) {
            .portal-grid {
                grid-template-columns: repeat(3, 1fr);
                align-items: stretch;
                grid-auto-rows: 1fr;
            }
            .container {
                max-width: 1000px;
            }
        }

        /* Küçük yükseklikli ekranlar için (14-15 inç laptop) */
        @media (max-height: 900px) and (min-width: 769px) {
            .container {
                height: 98vh;
                max-height: 98vh;
                overflow: hidden;
                padding: clamp(4px, 0.5vh, 6px);
            }
            
            .welcome-section {
                margin-bottom: clamp(1px, 0.2vh, 2px);
            }
            
            .greeting {
                font-size: clamp(1.1rem, 2vh, 1.4rem);
                margin-bottom: 1px;
            }
            
            .date-time {
                font-size: clamp(0.75rem, 1.4vh, 0.9rem);
                margin-bottom: clamp(1px, 0.2vh, 2px);
            }
            
            .search-container {
                margin-bottom: clamp(3px, 0.4vh, 4px);
            }
            
            .search-box {
                padding: clamp(2px, 0.3vh, 3px) clamp(10px, 1.2vw, 14px);
            }
            
            .portal-grid {
                overflow: visible;
                min-height: auto;
                gap: clamp(3px, 0.4vh, 5px);
                padding: 0;
            }
            
            /* Widget'ları küçült */
            .widgets-container {
                gap: clamp(3px, 0.4vh, 5px);
                margin-bottom: clamp(3px, 0.4vh, 5px);
            }
            
            .widget {
                padding: clamp(2px, 0.3vh, 4px);
            }
            
            .widget-title {
                font-size: clamp(0.7rem, 1.2vh, 0.8rem);
                margin-bottom: clamp(1px, 0.2vh, 2px);
                padding-bottom: clamp(1px, 0.2vh, 2px);
            }
            
            .portal-card {
                min-height: clamp(45px, 5.5vh, 60px);
                padding: clamp(2px, 0.3vh, 4px);
            }
            
            .portal-icon {
                width: clamp(25px, 3.2vh, 32px);
                height: clamp(25px, 3.2vh, 32px);
                margin: 0 auto clamp(2px, 0.3vh, 3px);
                font-size: clamp(13px, 1.7vh, 17px);
            }
            
            .portal-title {
                font-size: clamp(0.75rem, 1.3vh, 0.85rem);
                margin-bottom: clamp(1px, 0.2vh, 2px);
            }
            
            .portal-description {
                font-size: clamp(0.7rem, 1.1vh, 0.8rem);
            }
            
            .portal-card.main-card {
                min-height: clamp(50px, 6vh, 70px);
                padding: clamp(3px, 0.4vh, 5px) clamp(4px, 0.6vh, 6px);
            }
            
            .portal-card.main-card .portal-icon {
                width: clamp(90px, 10vw, 120px);
                height: clamp(30px, 4vh, 40px);
                font-size: clamp(14px, 2vh, 18px);
                margin-bottom: clamp(2px, 0.3vh, 4px);
            }
            
            .portal-card.main-card .portal-title {
                font-size: clamp(0.85rem, 1.6vh, 1rem);
            }
            
            .portal-card.main-card .portal-description {
                font-size: clamp(0.75rem, 1.3vh, 0.85rem);
                margin-top: clamp(1px, 0.2vh, 2px);
            }
            
            .footer {
                margin-top: clamp(1px, 0.2vh, 2px);
                padding-top: clamp(1px, 0.2vh, 2px);
                font-size: clamp(0.6rem, 0.95vh, 0.7rem);
            }
        }


        @media (max-width: 768px) {
            body {
                padding: 8px;
                min-height: 100vh;
                background: #275085 !important;
            }
            
            .container {
                padding: 20px 16px;
                height: auto;
                min-height: auto;
                max-height: none;
                border-radius: 25px;
                overflow: visible;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(30px);
                box-shadow: 0 25px 60px rgba(0,0,0,0.25);
                width: 100%;
                max-width: calc(100vw - 16px);
            }
            
            .portal-grid {
                grid-template-columns: 1fr 1fr;
                gap: 15px;
                align-content: start;
                align-items: stretch;
                grid-auto-rows: 1fr;
                overflow: visible;
                height: auto;
                margin-top: 10px;
                display: grid;
            }
            
            .portal-card {
                padding: 16px 12px;
                min-height: 130px;
                height: 100%;
                border-radius: 20px;
                background: linear-gradient(145deg, #ffffff, #f8f9fa);
                border: 2px solid rgba(39, 80, 133, 0.15);
                box-shadow: 0 8px 25px rgba(39, 80, 133, 0.15);
                transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                text-align: center;
            }

            .portal-card.main-card {
                min-height: 150px;
                margin-bottom: 15px;
                grid-column: 1 / -1;
                background: linear-gradient(145deg, #4a7ab8 0%, #3a6ba5 25%, #2d5c92 50%, #255080 75%, #1e446d 100%);
                box-shadow: 0 10px 25px rgba(39, 80, 133, 0.25);
                border: 2px solid rgba(255, 255, 255, 0.4);
            }

            .portal-card.main-card:hover {
                transform: translateY(-8px) scale(1.02);
                box-shadow: 0 15px 35px rgba(39, 80, 133, 0.3);
            }
            
            .portal-card:hover {
                transform: translateY(-4px);
                box-shadow: 0 10px 20px rgba(39, 80, 133, 0.15);
                border-color: rgba(39, 80, 133, 0.2);
            }

            .portal-icon {
                width: 45px;
                height: 45px;
                margin: 0 auto 12px auto;
                border-radius: 18px;
                font-size: 22px;
                background: linear-gradient(135deg, #275085, #1a3a5c);
                box-shadow: 0 6px 20px rgba(39, 80, 133, 0.25);
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
            }

            .portal-card.main-card .portal-icon {
                width: clamp(120px, 18vw, 160px);
                height: clamp(40px, 7vw, 50px);
                border-radius: 20px;
                margin-bottom: 15px;
            }

            .portal-title {
                font-size: 14px;
                font-weight: 700;
                margin-bottom: 6px;
                color: #2c3e50;
                text-align: center;
            }

            .portal-description {
                font-size: 12px;
                line-height: 1.4;
                color: #5a6c7d;
                text-align: center;
            }

            .portal-card.main-card .portal-description {
                font-size: 13px;
                color: rgba(255, 255, 255, 0.95);
                font-weight: 500;
            }

            .logo {
                max-width: 140px;
            }
        }

        @media (max-width: 600px) {
            .container {
                padding: 18px 14px;
                border-radius: 22px;
            }
            
            .portal-grid {
                grid-template-columns: 1fr 1fr !important;
                gap: 12px;
                display: grid !important;
                align-items: stretch;
                grid-auto-rows: 1fr;
            }
            
            .portal-card {
                min-height: 120px;
                height: 100%;
                padding: 14px 10px;
            }
            
            .portal-card.main-card {
                min-height: 140px;
                grid-column: 1 / -1 !important;
            }
            
            .portal-icon {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }
            
            .portal-title {
                font-size: 13px;
            }
            
            .portal-description {
                font-size: 11px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 6px;
                height: auto;
                min-height: 100vh;
            }

            .container {
                padding: 16px 12px;
                border-radius: 20px;
                height: auto;
                min-height: auto;
                max-height: none;
                overflow: visible;
            }
            
            .portal-grid {
                grid-template-columns: 1fr 1fr !important;
                gap: 10px;
                height: auto;
                overflow: visible;
                display: grid !important;
                align-items: stretch;
                grid-auto-rows: 1fr;
            }
            
            .portal-card {
                min-height: 110px;
                height: 100%;
                padding: 12px 8px;
                border-radius: 16px;
            }

            .portal-card.main-card {
                min-height: 130px;
                grid-column: 1 / -1 !important;
                margin-bottom: 12px;
            }

            .portal-card.main-card:hover {
                transform: translateY(-6px) scale(1.01);
            }

            .portal-card:hover {
                transform: translateY(-3px);
            }

            .logo {
                max-width: 120px;
            }

            .portal-icon {
                width: 35px;
                height: 35px;
                font-size: 18px;
                border-radius: 14px;
            }

            .portal-card.main-card .portal-icon {
                width: clamp(100px, 22vw, 140px);
                height: clamp(35px, 7vw, 45px);
                border-radius: 16px;
            }

            .portal-title {
                font-size: 12px;
                font-weight: 700;
            }

            .portal-description {
                font-size: 10px;
                line-height: 1.3;
            }

            .portal-card.main-card .portal-description {
                font-size: 12px;
                font-weight: 500;
            }
        }

        @media (max-width: 360px) {
            .container {
                padding: 10px 6px;
            }

            .portal-card {
                min-height: 80px;
                height: 100%;
                padding: 8px 5px;
            }

            .portal-card.main-card {
                min-height: 95px;
            }

            .footer {
                font-size: 0.5rem;
                margin-top: 6px;
                padding-top: 6px;
            }
        }

        /* Landscape orientation adjustments for mobile */
        @media (max-height: 600px) and (orientation: landscape) {
            .container {
                height: 95vh;
                padding: 10px;
            }
            
            .portal-card {
                min-height: 70px;
                height: 100%;
                padding: 8px;
            }

            .portal-card.main-card {
                min-height: 85px;
            }

            .logo {
                max-width: 80px;
            }
        }

        /* Çok kısa ekranlar için */
        @media (max-height: 500px) {
            .container {
                height: 98vh;
                padding: 8px;
            }
            
            .portal-grid {
                gap: 6px;
            }
            
            .portal-card {
                min-height: 60px;
                height: 100%;
                padding: 6px 4px;
            }

            .portal-card.main-card {
                min-height: 75px;
            }

            .footer {
                margin-top: 8px;
                padding-top: 8px;
            }
        }

        /* High DPI displays */
        @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
            .logo {
                image-rendering: -webkit-optimize-contrast;
            }
        }

        /* Tips Modal Styles */
        #tipsModal.modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            animation: fadeIn 0.3s ease;
        }

        #tipsModal .modal-content {
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            margin: 5% auto;
            padding: 0;
            border: 2px solid #275085;
            border-radius: 20px;
            width: 90%;
            max-width: 800px;
            max-height: 80vh;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex;
            flex-direction: column;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-100px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        #tipsModal .modal-header {
            padding: 20px 25px;
            background: linear-gradient(135deg, #275085, #1a3a5c);
            color: white;
            border-radius: 18px 18px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }

        #tipsModal .modal-header h2 {
            margin: 0;
            font-size: clamp(1.3rem, 2.5vh, 1.6rem);
            font-weight: 700;
        }

        #tipsModal .modal-close {
            color: white;
            font-size: 35px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            line-height: 1;
            padding: 0 5px;
        }

        #tipsModal .modal-close:hover,
        #tipsModal .modal-close:focus {
            color: #ff6b6b;
            transform: rotate(90deg) scale(1.2);
        }

        #tipsModal .modal-body {
            padding: 25px;
            overflow-y: auto;
            flex: 1;
            min-height: 0;
        }

        #tipsModal .modal-body::-webkit-scrollbar {
            width: 8px;
        }

        #tipsModal .modal-body::-webkit-scrollbar-track {
            background: rgba(39, 80, 133, 0.05);
            border-radius: 10px;
        }

        #tipsModal .modal-body::-webkit-scrollbar-thumb {
            background: rgba(39, 80, 133, 0.3);
            border-radius: 10px;
        }

        #tipsModal .modal-body::-webkit-scrollbar-thumb:hover {
            background: rgba(39, 80, 133, 0.5);
        }

        #tipsModal .tip-category {
            margin-bottom: 25px;
        }

        #tipsModal .tip-category-title {
            font-size: clamp(1.1rem, 2vh, 1.3rem);
            font-weight: 700;
            color: #275085;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #275085;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        #tipsModal .tip-item {
            background: white;
            padding: 12px 15px;
            margin-bottom: 10px;
            border-radius: 10px;
            border-left: 4px solid #275085;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        #tipsModal .tip-item:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 15px rgba(39, 80, 133, 0.15);
            border-left-width: 6px;
        }

        #tipsModal .tip-item-title {
            font-weight: 600;
            color: #275085;
            font-size: clamp(0.9rem, 1.6vh, 1rem);
            margin-bottom: 5px;
        }

        #tipsModal .tip-item-description {
            color: #2c3e50;
            font-size: clamp(0.85rem, 1.5vh, 0.95rem);
            line-height: 1.5;
        }

        @media (max-width: 768px) {
            #tipsModal .modal-content {
                width: 95%;
                margin: 10% auto;
                max-height: 85vh;
            }

            #tipsModal .modal-header {
                padding: 15px 20px;
            }

            #tipsModal .modal-body {
                padding: 20px;
            }

            #tipsModal .tip-category-title {
                font-size: 1.1rem;
            }
        }